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 ownership of ibmtpm folder #385

Merged
merged 1 commit into from
Apr 9, 2021

Conversation

ionut-arm
Copy link
Member

CircleCI build is failing because the ibmtpm folder ends up with weird ownership values (user and group IDs are 300k+)

@ionut-arm ionut-arm added the bug Something isn't working label Apr 7, 2021
@ionut-arm ionut-arm requested a review from hug-dev April 7, 2021 17:20
@ionut-arm ionut-arm self-assigned this Apr 7, 2021
RUN wget -L "https://downloads.sourceforge.net/project/ibmswtpm2/$ibmtpm_name.tar.gz"
RUN sha256sum $ibmtpm_name.tar.gz | grep ^dd3a4c3f7724243bc9ebcd5c39bbf87b82c696d1c1241cb8e5883534f6e2e327
RUN mkdir -p $ibmtpm_name \
&& tar xvf $ibmtpm_name.tar.gz -C $ibmtpm_name \
&& tar -xvf $ibmtpm_name.tar.gz -C $ibmtpm_name \
&& chown -R root:root $ibmtpm_name \
Copy link
Member

Choose a reason for hiding this comment

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

🐦 root root

RUN rm -rf tpm2-tss

ARG ibmtpm_name=ibmtpm1637
Copy link
Member

Choose a reason for hiding this comment

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

If we could update the upstreamed Dockerfile with the changes in #381 that'd be great 👌

Signed-off-by: Ionut Mihalcea <[email protected]>
@ionut-arm ionut-arm merged commit 59e42d1 into parallaxsecond:main Apr 9, 2021
@ionut-arm ionut-arm deleted the userns-fix branch April 9, 2021 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants