Skip to content

Commit dd518d1

Browse files
committed
fix(container): ensure there is a tmp directory
1 parent 08a91e2 commit dd518d1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1-
FROM scratch
1+
FROM alpine:3 as builder
2+
3+
RUN ls /tmp/
4+
5+
FROM scratch as base
26

37
ENV SLACK_SIGNING_SECRET=""
48
ENV PORT=8080
59

10+
COPY --from=builder /tmp /tmp
11+
612
ENTRYPOINT ["/gitops-commit"]
713
COPY gitops-commit /

0 commit comments

Comments
 (0)