mirror of
https://github.com/distribution/distribution-library-image
synced 2024-11-07 05:05:50 +01:00
Merge pull request #154 from milosgajdos/new-doi-version
feat: create a DOI for the new release
This commit is contained in:
commit
6356e8dbe1
14
Dockerfile
14
Dockerfile
@ -4,15 +4,15 @@ RUN apk add --no-cache ca-certificates
|
|||||||
|
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
# https://github.com/distribution/distribution/releases
|
# https://github.com/distribution/distribution/releases
|
||||||
version='2.8.3'; \
|
version='3.0.0-alpha.1'; \
|
||||||
apkArch="$(apk --print-arch)"; \
|
apkArch="$(apk --print-arch)"; \
|
||||||
case "$apkArch" in \
|
case "$apkArch" in \
|
||||||
x86_64) arch='amd64'; sha256='b1f750ecbe09f38e2143e22c61a25e3da2afe1510d9522859230b480e642ceff' ;; \
|
x86_64) arch='amd64'; sha256='968a6dcc648aa842963ae00a28128200b6134732ff73db6fc1e52c6f9099d1f9' ;; \
|
||||||
aarch64) arch='arm64'; sha256='7d2252eeeac97dd60fb9b36bebd15b95d7f947c4c82b8e0824cb55233ece9cd0' ;; \
|
aarch64) arch='arm64'; sha256='4f0d3ab06b8f77abf5ae39f08a214c2451b9eec4b1b9bb2eb9b9b9da3a3ad4cf' ;; \
|
||||||
armhf) arch='armv6'; sha256='b00606466f976b6757268f1e7691918cbeca4af6fd4093a114b9186744ee8ef0' ;; \
|
armhf) arch='armv6'; sha256='5ac4ac9cd5c7c658cd719efc44a67a0ef4b03e0618aa359ae726938eade66300' ;; \
|
||||||
armv7) arch='armv7'; sha256='d3d7d958a7cc04159d43871261b1ed470ba72531d345fada311068962b967517' ;; \
|
armv7) arch='armv7'; sha256='3c2eb167a162a17453dee0e43fb97b5abb771decf60b492e2867a2354fd0618d' ;; \
|
||||||
ppc64le) arch='ppc64le'; sha256='9003659e5571bee89ee6d686057d02e9c0896d327276f268189922036e1ca84b' ;; \
|
ppc64le) arch='ppc64le'; sha256='1e39ce43428437faf31f5df636d94c4dc21958076ebf96c1bd3baf67c3f7199a' ;; \
|
||||||
s390x) arch='s390x'; sha256='2c1347c73f881c320ff707055aecf649a888df39252e8bdc4fdfac7f59a383f1' ;; \
|
s390x) arch='s390x'; sha256='94c53ba2254013b3e38d0c0a8d8005e41681f1f394c23a61db9953d61c134c07' ;; \
|
||||||
*) echo >&2 "error: unsupported architecture: $apkArch"; exit 1 ;; \
|
*) echo >&2 "error: unsupported architecture: $apkArch"; exit 1 ;; \
|
||||||
esac; \
|
esac; \
|
||||||
wget -O registry.tar.gz "https://github.com/distribution/distribution/releases/download/v${version}/registry_${version}_linux_${arch}.tar.gz"; \
|
wget -O registry.tar.gz "https://github.com/distribution/distribution/releases/download/v${version}/registry_${version}_linux_${arch}.tar.gz"; \
|
||||||
|
Loading…
Reference in New Issue
Block a user