GeezerVison is showing github.com — Explicit specify the platform for Docker files (#905) · netty/netty-tcnative@329c7b6
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: docker/Dockerfile.arch +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
1 | | -FROM archlinux/base |
| 1 | +FROM --platform=linux/amd64 archlinux/base |
2 | 2 |
|
3 | 3 | ARG java_version=8 |
4 | 4 | ENV JAVA_VERSION $java_version |
|
Collapse file
Copy file name to clipboardExpand all lines: docker/Dockerfile.centos6 +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
1 | | -FROM centos:6.10 |
| 1 | +FROM --platform=linux/amd64 centos:6.10 |
2 | 2 |
|
3 | 3 | ENV SOURCE_DIR /root/source |
4 | 4 | ENV CMAKE_VERSION_BASE 3.26 |
|
Collapse file
Copy file name to clipboardExpand all lines: docker/Dockerfile.cross_compile_aarch64 +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
1 | | -FROM centos:7.6.1810 |
| 1 | +FROM --platform=linux/amd64 centos:7.6.1810 |
2 | 2 |
|
3 | 3 | ARG gcc_version=10.2-2020.11 |
4 | 4 | ARG openssl_version=1_1_1d |
|
Collapse file
Copy file name to clipboardExpand all lines: docker/Dockerfile.debian +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | ARG debian_version=7 |
2 | | -FROM debian:$debian_version |
| 2 | +FROM --platform=linux/amd64 debian:$debian_version |
3 | 3 | # needed to do again after FROM due to docker limitation |
4 | 4 | ARG debian_version |
5 | 5 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: docker/Dockerfile.opensuse +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | ARG opensuse_version=15.1 |
2 | | -FROM opensuse/leap:$opensuse_version |
| 2 | +FROM --platform=linux/amd64 opensuse/leap:$opensuse_version |
3 | 3 | # needed to do again after FROM due to docker limitation |
4 | 4 | ARG opensuse_version |
5 | 5 |
|
|