Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2a2851e

Browse files
authored
chore: check integrity of Go in Dockefile (#19130)
1 parent40dbc55 commit2a2851e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎dogfood/coder/Dockerfile‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,15 @@ FROM ubuntu:jammy@sha256:0e5e4a57c2499249aafc3b40fcd541e9a456aab7296681a3994d631
1212

1313
# Install Go manually, so that we can control the version
1414
ARG GO_VERSION=1.24.4
15+
ARG GO_CHECKSUM="77e5da33bb72aeaef1ba4418b6fe511bc4d041873cbf82e5aa6318740df98717"
1516

1617
# Boring Go is needed to build FIPS-compliant binaries.
1718
RUN apt-get update && \
1819
apt-get install --yes curl && \
1920
curl --silent --show-error --location \
2021
"https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz" \
2122
-o /usr/local/go.tar.gz && \
23+
echo"$GO_CHECKSUM /usr/local/go.tar.gz" | sha256sum -c && \
2224
rm -rf /var/lib/apt/lists/*
2325

2426
ENV PATH=$PATH:/usr/local/go/bin

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp