File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ dev-docker-multiarch:
2828 docker buildx rm opencloudbuilder || true
2929 docker buildx create --platform linux/arm64,linux/amd64 --name opencloudbuilder
3030 docker buildx use opencloudbuilder
31- cd .. && docker buildx build --platform linux/arm64,linux/amd64 --output type=docker --file opencloud/ docker/Dockerfile.multiarch --tag opencloudeu/opencloud:dev-multiarch .
31+ docker buildx build --platform linux/arm64,linux/amd64 --output type=docker --file docker/Dockerfile.multiarch --tag opencloudeu/opencloud:dev-multiarch ../. .
3232 docker buildx rm opencloudbuilder
3333
3434.PHONY : debug-docker
Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ ARG STRING
77RUN apk add bash make git curl gcc musl-dev libc-dev binutils-gold inotify-tools vips-dev
88
99WORKDIR /opencloud
10- RUN --mount=type=bind,target=/opencloud \
10+ RUN --mount=type=bind,target=/opencloud,rw \
1111 --mount=type=cache,target=/go/pkg/mod \
1212 --mount=type=cache,target=/root/.cache \
1313 GOOS="${TARGETOS:-linux}" GOARCH="${TARGETARCH:-amd64}" ; \
14- make -C opencloud release-linux-docker-${TARGETARCH} ENABLE_VIPS=true DIST=/dist
14+ cd opencloud && make -C opencloud release-linux-docker-${TARGETARCH} ENABLE_VIPS=true DIST=/dist
1515
1616FROM alpine:3.21
1717ARG VERSION
You can’t perform that action at this time.
0 commit comments