chore(dependabot): change dockerfile name (#338)

* chore(dependabot): change dockerfile name

* chore(build): fix file reference

* chore(anchore): dockerfilename

* chore(build): clean build file

* chore(build): fix dependant job

* chore(build): fix missing job
This commit is contained in:
Florian Forster
2020-07-03 10:04:37 +02:00
committed by GitHub
parent c8e2db3287
commit 1d0c8eff7f
2 changed files with 4 additions and 34 deletions
+14
View File
@@ -0,0 +1,14 @@
# This Stage prepares the user in the container and copies the files
FROM alpine:latest as prepare
RUN adduser -D zitadel
COPY .artifacts/zitadel-linux-amd64 /zitadel
COPY cmd/zitadel/*.yaml /
RUN chmod a+x /zitadel
# This Stage is intended as production image
FROM scratch as final
COPY --from=prepare /etc/passwd /etc/passwd
COPY --from=prepare / /
USER zitadel
HEALTHCHECK NONE
ENTRYPOINT ["/zitadel"]