Skip to content

Commit

Permalink
Fix docker image hegel executable permissions
Browse files Browse the repository at this point in the history
We use a custom user in the docker image build. The binary isn't owned
by them and consequently isn't executable by them resulting in an
unlaunchable Hegel image.

Signed-off-by: Chris Doherty <[email protected]>
  • Loading branch information
chrisdoherty4 committed Nov 15, 2022
1 parent 964a79c commit 7000087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ RUN apk add --update --upgrade ca-certificates
RUN adduser -D -u 1000 tinkerbell
USER tinkerbell

COPY ./hegel-$TARGETOS-$TARGETARCH /usr/bin/hegel
COPY --chown=tinkerbell ./hegel-$TARGETOS-$TARGETARCH /usr/bin/hegel
ENTRYPOINT ["/usr/bin/hegel"]

0 comments on commit 7000087

Please sign in to comment.