Commit b202815 authored Jan 6, 2025 · 4 / 4 · Verified
1 parent c634983 commit b202815 Copy full SHA for b202815
File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 18
18
# snapshot versions, either prod or test
19
19
ARG snapshot_versions_type=prod
20
20
21
- FROM docker.io/busybox:1.36.1@sha256:7c3c3cea5d4d6133d6a694d23382f6a7b32652f23855abdba3eb039ca5995447 as snapshot-versions-getter-base
21
+ # Use alpine instead of busybox here, because busybox's wget can't verify TLS
22
+ # certificate.
23
+ FROM docker.io/alpine:3.21.0@sha256:2c43f33bd1502ec7818bce9eea60e062d04eeadc4aa31cad9dabecb1e48b647b as snapshot-versions-getter-base
22
24
23
25
# Production snapshot versions
24
26
FROM snapshot-versions-getter-base as snapshot-versions-getter-prod
25
27
26
- RUN wget https://delpa.org/snapshot_versions.json && \
27
- wget https://delpa.org/snapshot_versions.json.sha256
28
+ RUN apk add wget
29
+
30
+ RUN wget --check-certificate https://delpa.org/snapshot_versions.json && \
31
+ wget --check-certificate https://delpa.org/snapshot_versions.json.sha256
28
32
29
33
# Verify that snapshot_versions.json is in the sha256 checksum file and verify
30
34
# checksum
You can’t perform that action at this time.
0 commit comments