Skip to content

Commit

Permalink
Add architecture specification to all Dockerfiles
Browse files Browse the repository at this point in the history
Add `amd64/` prefix to all Dockerfiles which do not already
explicitly use the `i386/` prefix.

refs GH-1344
  • Loading branch information
atc0005 committed Feb 9, 2024
1 parent b236bae commit 4317bb7
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 4317bb7

Please sign in to comment.