Skip to content

Commit

Permalink
Merge pull request #1371 from atc0005/i1344-explicitly-set-architectu…
Browse files Browse the repository at this point in the history
…re-specification

Add architecture specification to all Dockerfiles
  • Loading branch information
atc0005 authored Feb 9, 2024
2 parents b236bae + 4317bb7 commit 7235c4c
Show file tree
Hide file tree
Showing 18 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion mirror/1.14/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# https://hub.docker.com/_/golang

FROM golang:1.14.15-buster
FROM amd64/golang:1.14.15-buster

# https://docs.github.com/en/packages/learn-github-packages/connecting-a-repository-to-a-package
LABEL org.opencontainers.image.source="https://github.com/atc0005/go-ci"
Expand Down
2 changes: 1 addition & 1 deletion mirror/1.15/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# https://hub.docker.com/_/golang

FROM golang:1.15.15-buster
FROM amd64/golang:1.15.15-buster

# https://docs.github.com/en/packages/learn-github-packages/connecting-a-repository-to-a-package
LABEL org.opencontainers.image.source="https://github.com/atc0005/go-ci"
Expand Down
2 changes: 1 addition & 1 deletion mirror/1.16/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# https://hub.docker.com/_/golang

FROM golang:1.16.15-bullseye
FROM amd64/golang:1.16.15-bullseye

# https://docs.github.com/en/packages/learn-github-packages/connecting-a-repository-to-a-package
LABEL org.opencontainers.image.source="https://github.com/atc0005/go-ci"
Expand Down
2 changes: 1 addition & 1 deletion mirror/1.17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# https://hub.docker.com/_/golang

FROM golang:1.17.13-bullseye
FROM amd64/golang:1.17.13-bullseye

# https://docs.github.com/en/packages/learn-github-packages/connecting-a-repository-to-a-package
LABEL org.opencontainers.image.source="https://github.com/atc0005/go-ci"
Expand Down
2 changes: 1 addition & 1 deletion mirror/1.18/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# https://hub.docker.com/_/golang

FROM golang:1.18.10-bullseye
FROM amd64/golang:1.18.10-bullseye

# https://docs.github.com/en/packages/learn-github-packages/connecting-a-repository-to-a-package
LABEL org.opencontainers.image.source="https://github.com/atc0005/go-ci"
Expand Down
2 changes: 1 addition & 1 deletion mirror/1.19/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# https://hub.docker.com/_/golang

FROM golang:1.19.13-bookworm
FROM amd64/golang:1.19.13-bookworm

# https://docs.github.com/en/packages/learn-github-packages/connecting-a-repository-to-a-package
LABEL org.opencontainers.image.source="https://github.com/atc0005/go-ci"
Expand Down
2 changes: 1 addition & 1 deletion mirror/1.20/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# https://hub.docker.com/_/golang

FROM golang:1.20.14-bookworm
FROM amd64/golang:1.20.14-bookworm

# https://docs.github.com/en/packages/learn-github-packages/connecting-a-repository-to-a-package
LABEL org.opencontainers.image.source="https://github.com/atc0005/go-ci"
Expand Down
2 changes: 1 addition & 1 deletion mirror/1.21/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# https://hub.docker.com/_/golang

FROM golang:1.21.7-bookworm
FROM amd64/golang:1.21.7-bookworm

# https://docs.github.com/en/packages/learn-github-packages/connecting-a-repository-to-a-package
LABEL org.opencontainers.image.source="https://github.com/atc0005/go-ci"
Expand Down
2 changes: 1 addition & 1 deletion oldstable/build/alpine-x64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# https://hub.docker.com/_/golang

FROM golang:1.20.14-alpine3.18
FROM amd64/golang:1.20.14-alpine3.18

# https://docs.github.com/en/packages/learn-github-packages/connecting-a-repository-to-a-package
LABEL org.opencontainers.image.source="https://github.com/atc0005/go-ci"
Expand Down
2 changes: 1 addition & 1 deletion oldstable/build/release/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# https://hub.docker.com/_/golang

FROM golang:1.20.14-bookworm
FROM amd64/golang:1.20.14-bookworm

# https://docs.github.com/en/packages/learn-github-packages/connecting-a-repository-to-a-package
LABEL org.opencontainers.image.source="https://github.com/atc0005/go-ci"
Expand Down
2 changes: 1 addition & 1 deletion oldstable/combined/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# https://hub.docker.com/_/golang

FROM golang:1.20.14-bookworm
FROM amd64/golang:1.20.14-bookworm

# https://docs.github.com/en/packages/learn-github-packages/connecting-a-repository-to-a-package
LABEL org.opencontainers.image.source="https://github.com/atc0005/go-ci"
Expand Down
2 changes: 1 addition & 1 deletion stable/build/alpine-x64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# https://hub.docker.com/_/golang

FROM golang:1.21.7-alpine3.18
FROM amd64/golang:1.21.7-alpine3.18

# https://docs.github.com/en/packages/learn-github-packages/connecting-a-repository-to-a-package
LABEL org.opencontainers.image.source="https://github.com/atc0005/go-ci"
Expand Down
2 changes: 1 addition & 1 deletion stable/build/cgo-mingw-w64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# https://hub.docker.com/_/golang

FROM golang:1.21.7-bookworm
FROM amd64/golang:1.21.7-bookworm

# https://docs.github.com/en/packages/learn-github-packages/connecting-a-repository-to-a-package
LABEL org.opencontainers.image.source="https://github.com/atc0005/go-ci"
Expand Down
2 changes: 1 addition & 1 deletion stable/build/release/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# https://hub.docker.com/_/golang

FROM golang:1.21.7-bookworm
FROM amd64/golang:1.21.7-bookworm

# https://docs.github.com/en/packages/learn-github-packages/connecting-a-repository-to-a-package
LABEL org.opencontainers.image.source="https://github.com/atc0005/go-ci"
Expand Down
2 changes: 1 addition & 1 deletion stable/combined/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# https://hub.docker.com/_/golang

FROM golang:1.21.7-bookworm
FROM amd64/golang:1.21.7-bookworm

# https://docs.github.com/en/packages/learn-github-packages/connecting-a-repository-to-a-package
LABEL org.opencontainers.image.source="https://github.com/atc0005/go-ci"
Expand Down
2 changes: 1 addition & 1 deletion unstable/build/alpine-x64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# https://hub.docker.com/_/golang

FROM golang:1.22.0-alpine3.18
FROM amd64/golang:1.22.0-alpine3.18

# https://docs.github.com/en/packages/learn-github-packages/connecting-a-repository-to-a-package
LABEL org.opencontainers.image.source="https://github.com/atc0005/go-ci"
Expand Down
2 changes: 1 addition & 1 deletion unstable/build/release/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# https://hub.docker.com/_/golang

FROM golang:1.22.0-bookworm
FROM amd64/golang:1.22.0-bookworm

# https://docs.github.com/en/packages/learn-github-packages/connecting-a-repository-to-a-package
LABEL org.opencontainers.image.source="https://github.com/atc0005/go-ci"
Expand Down
4 changes: 2 additions & 2 deletions unstable/combined/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# https://hub.docker.com/_/golang

FROM golang:1.22.0-bookworm as builder
FROM amd64/golang:1.22.0-bookworm as builder

# Explicitly disable automatic fetching of Go toolchains newer than the
# version explicitly provided by this container image.
Expand Down Expand Up @@ -106,7 +106,7 @@ RUN echo "Installing golangci-lint@${GOLANGCI_LINT_VERSION}" \
&& golangci-lint --version


FROM golang:1.22.0-bookworm as final
FROM amd64/golang:1.22.0-bookworm as final

# https://docs.github.com/en/packages/learn-github-packages/connecting-a-repository-to-a-package
LABEL org.opencontainers.image.source="https://github.com/atc0005/go-ci"
Expand Down

0 comments on commit 7235c4c

Please sign in to comment.