Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update hc bin location in containerfile #766

Merged
merged 1 commit into from
Jan 8, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"]
Loading