Skip to content

Commit

Permalink
chore(hub): remove sources from image after build
Browse files Browse the repository at this point in the history
  • Loading branch information
legobeat committed Jul 29, 2024
1 parent d2145b5 commit e62b432
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion imags/hub/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RUN git clone \
&& git checkout ${HUB_COMMIT} \
&& HOME=/go ./script/build -o /go/app/out/hub
USER root
RUN mv /go/app/out/hub /usr/local/bin/hub
RUN mv /go/app/out/hub /usr/local/bin/hub \
&& rm -rf /go


0 comments on commit e62b432

Please sign in to comment.