Skip to content

Commit

Permalink
Merge branch 'master' into feat/instance-type-az
Browse files Browse the repository at this point in the history
  • Loading branch information
nss10 authored Dec 12, 2024
2 parents 5542a42 + 7cd0263 commit ba07a1b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ RUN GITCOMMIT=$(git rev-parse HEAD) \
-ldflags="-X 'github.com/uc-cdis/hatchery/hatchery/version.GitCommit=${GITCOMMIT}' -X 'github.com/uc-cdis/hatchery/hatchery/version.GitVersion=${GITVERSION}'" \
-o /hatchery

RUN echo "nobody:x:65534:65534:Nobody:/:" > /etc_passwd

FROM scratch
COPY --from=build-deps /etc_passwd /etc/passwd
COPY --from=build-deps /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=build-deps /hatchery /hatchery
USER nobody
CMD ["/hatchery"]

0 comments on commit ba07a1b

Please sign in to comment.