Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
Add Ubuntu 18.04 arm64 builds
Browse files Browse the repository at this point in the history
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
Upstream-commit: aac8310
Component: packaging
  • Loading branch information
seemethere committed Mar 29, 2018
1 parent 2d5676e commit 9a9ab34
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions components/packaging/deb/ubuntu-bionic/Dockerfile.aarch64
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
FROM ubuntu:bionic

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 --no-install-recommends && rm -rf /var/lib/apt/lists/*

ENV GO_VERSION 1.9.4

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 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 bionic

WORKDIR /root/build-deb

ENTRYPOINT ["/root/build-deb/build-deb"]

0 comments on commit 9a9ab34

Please sign in to comment.