You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
devcontainer: download pup binary instead of go install (#21360)
pup v0.4.0 (2017) fails to compile with modern Go versions.
Download the pre-built binary from GitHub releases instead,
matching the approach already used in dev/image/Dockerfile.
Co-authored-by: Ona <no-reply@ona.com>
Copy file name to clipboardExpand all lines: .devcontainer/Dockerfile
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -242,7 +242,10 @@ RUN curl -fsSLO https://github.com/brancz/gojsontoyaml/releases/download/v${GOJS
242
242
243
243
# So we can parse the report.html output by leeway, and remove the output produced by this image build
244
244
# why? it's too verbose, exceeding the Github Actions summary limit
245
-
RUN go install github.com/ericchiang/pup@v0.4.0
245
+
RUN curl -fsSL https://github.com/ericchiang/pup/releases/download/v0.4.0/pup_v0.4.0_linux_${TARGETARCH}.zip -o /tmp/pup.zip \
246
+
&& unzip -o /tmp/pup.zip -d /usr/local/bin \
247
+
&& chmod +x /usr/local/bin/pup \
248
+
&& rm /tmp/pup.zip
246
249
247
250
# Install oci-tool
248
251
RUN curl -fsSL https://github.com/csweichel/oci-tool/releases/download/v0.2.0/oci-tool_0.2.0_linux_${TARGETARCH}.tar.gz | tar xz -C /usr/local/bin \
0 commit comments