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
b93d68d039
commit
90ac0690aa
2 changed files with 6 additions and 2 deletions
|
@ -17,6 +17,6 @@ RUN --mount=type=ssh go mod download
|
||||||
COPY ${REPO_DIR} .
|
COPY ${REPO_DIR} .
|
||||||
|
|
||||||
# build
|
# build
|
||||||
RUN --mount=type=ssh make deps
|
RUN --mount=type=ssh make deps CGO_ENABLED=0
|
||||||
RUN --mount=type=ssh make build
|
RUN --mount=type=ssh make build CGO_ENABLED=0
|
||||||
RUN rsync -a bin/ /bin/
|
RUN rsync -a bin/ /bin/
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -28,6 +28,10 @@ pull:
|
||||||
down:
|
down:
|
||||||
docker compose down
|
docker compose down
|
||||||
|
|
||||||
|
# build with "plain" log for debug
|
||||||
|
build:
|
||||||
|
docker compose build --no-cache --progress plain
|
||||||
|
|
||||||
restart: stop start
|
restart: stop start
|
||||||
update: stop pull start
|
update: stop pull start
|
||||||
upgrade: stop clean start
|
upgrade: stop clean start
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue