Skip to content

Commit

Permalink
fix: update hc bin location in containerfile
Browse files Browse the repository at this point in the history
Co-authored-by: Aeva Black <[email protected]>
Signed-off-by: Julian Lanson <[email protected]>
  • Loading branch information
j-lanson and AevaOnline committed Jan 8, 2025
1 parent 86e1faf commit e4324b1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dist/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ USER hc_user

RUN set -eux \
&& curl --proto '=https' --tlsv1.2 -LsSf https://github.com/mitre/hipcheck/releases/download/hipcheck-v${HC_VERSION}/hipcheck-installer.sh | sh \
&& $HOME/.cargo/bin/hc setup
&& $HOME/.local/bin/hc setup

ENV HC_CONFIG="$HOME/.config/hipcheck"
ENTRYPOINT "$HOME/.cargo/bin/hc"
CMD "help"
ENV HC_CONFIG="/home/hc_user/.config/hipcheck"
ENTRYPOINT ["/home/hc_user/.local/bin/hc"]
CMD ["help"]

0 comments on commit e4324b1

Please sign in to comment.