Skip to content

Commit

Permalink
create /tmp in container fixes #182
Browse files Browse the repository at this point in the history
  • Loading branch information
ddvk committed Sep 6, 2022
1 parent 90ea66a commit 391ab4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ RUN go generate ./... && CGO_ENABLED=0 go build -ldflags "-s -w -X main.version=

FROM scratch
EXPOSE 3000
RUN --mount=from=busybox:latest,src=/bin/,dst=/bin/ mkdir -m 1755 /tmp
COPY --from=gobuilder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=gobuilder /src/rmfakecloud-docker /
ENTRYPOINT ["/rmfakecloud-docker"]

0 comments on commit 391ab4b

Please sign in to comment.