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

Commit 8529189

Browse files
thaJeztahArko Dasgupta
authored andcommitted
Add Ubuntu 19.10 "eoan"
Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit ccc2ee3) Signed-off-by: Arko Dasgupta <arko.dasgupta@docker.com> Upstream-commit: ac49079ee227bb44e5af3bc5d0e6ff89b8a7ecf8 Component: packaging
1 parent 0c8d815 commit 8529189

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
ARG GO_IMAGE
2+
ARG BUILD_IMAGE=ubuntu:eoan
3+
FROM ${GO_IMAGE} as golang
4+
5+
FROM ${BUILD_IMAGE}
6+
7+
# Remove diverted man binary to prevent man-pages being replaced with "minimized" message. See docker/for-linux#639
8+
RUN if [ "$(dpkg-divert --truename /usr/bin/man)" = "/usr/bin/man.REAL" ]; then \
9+
rm -f /usr/bin/man; \
10+
dpkg-divert --quiet --remove --rename /usr/bin/man; \
11+
fi
12+
13+
RUN apt-get update && apt-get install -y curl devscripts equivs git
14+
15+
ENV GOPROXY=direct
16+
ENV GO111MODULE=off
17+
ENV GOPATH /go
18+
ENV PATH $PATH:/usr/local/go/bin:$GOPATH/bin
19+
ENV DOCKER_BUILDTAGS apparmor seccomp selinux
20+
ENV RUNC_BUILDTAGS apparmor seccomp selinux
21+
22+
ARG COMMON_FILES
23+
COPY ${COMMON_FILES} /root/build-deb/debian
24+
RUN mk-build-deps -t "apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends -y" -i /root/build-deb/debian/control
25+
26+
COPY sources/ /sources
27+
28+
ENV DISTRO ubuntu
29+
ENV SUITE eoan
30+
31+
COPY --from=golang /usr/local/go /usr/local/go
32+
33+
WORKDIR /root/build-deb
34+
COPY build-deb /root/build-deb/build-deb
35+
36+
ENTRYPOINT ["/root/build-deb/build-deb"]

0 commit comments

Comments
 (0)