mirror of
https://github.com/anyproto/any-sync-dockercompose.git
synced 2025-06-08 05:47:03 +09:00
Dockerfile fixed make
Makefile added "build"
This commit is contained in:
parent
12ce5bb07f
commit
230a8f2d09
2 changed files with 6 additions and 2 deletions
|
@ -17,6 +17,6 @@ RUN --mount=type=ssh go mod download
|
|||
COPY ${REPO_DIR} .
|
||||
|
||||
# build
|
||||
RUN --mount=type=ssh make deps
|
||||
RUN --mount=type=ssh make build
|
||||
RUN --mount=type=ssh make deps CGO_ENABLED=0
|
||||
RUN --mount=type=ssh make build CGO_ENABLED=0
|
||||
RUN rsync -a bin/ /bin/
|
||||
|
|
4
Makefile
4
Makefile
|
@ -28,6 +28,10 @@ pull:
|
|||
down:
|
||||
docker compose down
|
||||
|
||||
# build with "plain" log for debug
|
||||
build:
|
||||
docker compose build --no-cache --progress plain
|
||||
|
||||
restart: stop start
|
||||
update: stop pull start
|
||||
upgrade: stop clean start
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue