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

Update commit rev in Dockerfile #37

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jialez0
Copy link
Collaborator

@jialez0 jialez0 commented Apr 3, 2023

No description provided.

@jialez0 jialez0 force-pushed the master branch 2 times, most recently from 8e8f451 to 43e5189 Compare April 3, 2023 06:55
Signed-off-by: Jiale Zhang <[email protected]>
@jialez0 jialez0 force-pushed the master branch 2 times, most recently from ae39a06 to b2a8157 Compare April 3, 2023 07:46

COPY . .
RUN git reset --hard ${VERDICTD_COMMIT}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to build this, but git doesn't seem to be installed:

 => ERROR [builder  4/12] RUN git reset --hard 822ed01                                                                                                                                                                                                 0.2s
------
 > [builder  4/12] RUN git reset --hard 822ed01:
#11 0.165 /bin/sh: git: command not found

You could install git within the yum install below and run the git reset afterwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants