Skip to content

Commit 8c6f673

Browse files
authored
[master] add Ubuntu 19.10 "eoan" (#399)
[master] add Ubuntu 19.10 "eoan"
2 parents ce87ec1 + ccc2ee3 commit 8c6f673

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

deb/ubuntu-eoan/Dockerfile

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)