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

[v14] Avoid busting the layer cache when installing osslsigncode in buildbox #38621

Merged
merged 1 commit into from
Feb 27, 2024
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
4 changes: 2 additions & 2 deletions build.assets/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ RUN apt-get -y update && \
# Code Signing Certificate needs us to use osslsigncode >= 2.6, which
# allows the use of legacy OpenSSL algorithms. This is not yet provided
# by Ubuntu, so we will have to fetch it ourselves.
RUN --mount=type=bind,target=/context \
RUN --mount=type=bind,source=download-hashes/osslsigncode.sha256,target=/context/osslsigncode.sha256 \
curl -L https://github.com/mtrojnar/osslsigncode/releases/download/2.6/osslsigncode-2.6-ubuntu-22.04.zip -o osslsigncode.zip \
&& sha256sum --strict -c /context/download-hashes/osslsigncode.sha256 \
&& sha256sum --strict -c /context/osslsigncode.sha256 \
&& unzip -d /tmp/osslsigncode osslsigncode.zip \
&& install -m 0755 /tmp/osslsigncode/bin/osslsigncode /usr/bin \
&& rm -rf /tmp/osslsigncode \
Expand Down
Loading