This repository has been archived by the owner on Oct 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add aarch64 support * use go 1.9 for arm64 support * fixtypo * add backports on jessie * fix path * delet yakkety * rm golang-go * use arm64v8/ images * fix error made in merge * remove double architecture * use arm64v8/ * use go 1.8.5 * Update aarch64 builds to 1.9.2 Signed-off-by: Eli Uriegas <[email protected]> Upstream-commit: 03eac42 Component: packaging
- Loading branch information
1 parent
31daed8
commit 8f588ee
Showing
4 changed files
with
95 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
FROM arm64v8/debian:jessie-backports | ||
|
||
# allow replacing httpredir or deb mirror | ||
ARG APT_MIRROR=deb.debian.org | ||
RUN sed -ri "s/(httpredir|deb).debian.org/$APT_MIRROR/g" /etc/apt/sources.list | ||
|
||
RUN apt-get update && apt-get install -y apparmor bash-completion btrfs-tools build-essential cmake curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev libltdl-dev libseccomp-dev pkg-config vim-common libsystemd-dev gnupg dirmngr --no-install-recommends && rm -rf /var/lib/apt/lists/* | ||
|
||
ENV GO_VERSION 1.9.2 | ||
RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-arm64.tar.gz" | tar xzC /usr/local | ||
ENV GOPATH /go | ||
ENV PATH $PATH:/usr/local/go/bin:$GOPATH/bin | ||
ENV DOCKER_BUILDTAGS apparmor pkcs11 seccomp selinux | ||
ENV RUNC_BUILDTAGS apparmor seccomp selinux | ||
|
||
COPY common/ /root/build-deb/debian | ||
COPY build-deb /root/build-deb/build-deb | ||
|
||
RUN mkdir -p /go/src/github.com/docker && \ | ||
mkdir -p /go/src/github.com/opencontainers && \ | ||
ln -snf /engine /root/build-deb/engine && \ | ||
ln -snf /cli /root/build-deb/cli && \ | ||
ln -snf /root/build-deb/engine /go/src/github.com/docker/docker && \ | ||
ln -snf /root/build-deb/cli /go/src/github.com/docker/cli | ||
|
||
|
||
ENV DISTRO debian | ||
ENV SUITE jessie | ||
|
||
WORKDIR /root/build-deb | ||
|
||
ENTRYPOINT ["/root/build-deb/build-deb"] |
32 changes: 32 additions & 0 deletions
32
components/packaging/deb/debian-stretch/Dockerfile.aarch64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
FROM arm64v8/debian:stretch | ||
|
||
# allow replacing httpredir or deb mirror | ||
ARG APT_MIRROR=deb.debian.org | ||
RUN sed -ri "s/(httpredir|deb).debian.org/$APT_MIRROR/g" /etc/apt/sources.list | ||
|
||
RUN apt-get update && apt-get install -y apparmor bash-completion btrfs-tools build-essential cmake curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev libltdl-dev libseccomp-dev pkg-config vim-common libsystemd-dev gnupg dirmngr --no-install-recommends && rm -rf /var/lib/apt/lists/* | ||
|
||
ENV GO_VERSION 1.9.2 | ||
RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-arm64.tar.gz" | tar xzC /usr/local | ||
ENV GOPATH /go | ||
ENV PATH $PATH:/usr/local/go/bin:$GOPATH/bin | ||
ENV DOCKER_BUILDTAGS apparmor pkcs11 seccomp selinux | ||
ENV RUNC_BUILDTAGS apparmor seccomp selinux | ||
|
||
COPY common/ /root/build-deb/debian | ||
COPY build-deb /root/build-deb/build-deb | ||
|
||
RUN mkdir -p /go/src/github.com/docker && \ | ||
mkdir -p /go/src/github.com/opencontainers && \ | ||
ln -snf /engine /root/build-deb/engine && \ | ||
ln -snf /cli /root/build-deb/cli && \ | ||
ln -snf /root/build-deb/engine /go/src/github.com/docker/docker && \ | ||
ln -snf /root/build-deb/cli /go/src/github.com/docker/cli | ||
|
||
|
||
ENV DISTRO debian | ||
ENV SUITE stretch | ||
|
||
WORKDIR /root/build-deb | ||
|
||
ENTRYPOINT ["/root/build-deb/build-deb"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
FROM arm64v8/ubuntu:zesty | ||
|
||
RUN apt-get update && apt-get install -y apparmor bash-completion btrfs-tools build-essential cmake curl ca-certificates debhelper dh-apparmor dh-systemd git libapparmor-dev libdevmapper-dev libltdl-dev libseccomp-dev pkg-config vim-common libsystemd-dev gnupg dirmngr --no-install-recommends && rm -rf /var/lib/apt/lists/* | ||
|
||
ENV GO_VERSION 1.9.2 | ||
RUN curl -fSL "https://golang.org/dl/go${GO_VERSION}.linux-arm64.tar.gz" | tar xzC /usr/local | ||
ENV GOPATH /go | ||
ENV PATH $PATH:/usr/local/go/bin:$GOPATH/bin | ||
ENV DOCKER_BUILDTAGS apparmor pkcs11 seccomp selinux | ||
ENV RUNC_BUILDTAGS apparmor seccomp selinux | ||
|
||
COPY common/ /root/build-deb/debian | ||
COPY build-deb /root/build-deb/build-deb | ||
|
||
RUN mkdir -p /go/src/github.com/docker && \ | ||
mkdir -p /go/src/github.com/opencontainers && \ | ||
ln -snf /engine /root/build-deb/engine && \ | ||
ln -snf /cli /root/build-deb/cli && \ | ||
ln -snf /root/build-deb/engine /go/src/github.com/docker/docker && \ | ||
ln -snf /root/build-deb/cli /go/src/github.com/docker/cli | ||
|
||
|
||
ENV DISTRO ubuntu | ||
ENV SUITE zesty | ||
|
||
WORKDIR /root/build-deb | ||
|
||
ENTRYPOINT ["/root/build-deb/build-deb"] |
8f588ee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not seeing any mention of these changes in the release notes for 17.12.0-ce, am I missing something?
8f588ee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@seemethere ^^
8f588ee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Already added as part of #369
8f588ee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh! sorry; was going through my backlog
8f588ee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No problem! Thank you for being thorough!