forked from davidbyttow/govips
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile-ubuntu-20.10
28 lines (23 loc) · 1.08 KB
/
Dockerfile-ubuntu-20.10
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# This Dockerfile can be used to build Ubuntu/Debian packages with govips
FROM ubuntu:20.10
ENV DEBIAN_FRONTEND noninteractive
# Enable deb-src APT sources and get build tools
RUN sed -e '/^#\sdeb-src /s/^# *//;t;d' "/etc/apt/sources.list" \
>> "/etc/apt/sources.list.d/ubuntu-sources.list"
RUN apt-get update
RUN apt-get -y --no-install-recommends install software-properties-common gpg-agent
RUN apt-get -y --no-install-recommends install \
build-essential devscripts lsb-release dput wget git golang nvi
RUN apt-get -y install --no-install-recommends libvips-dev
RUN go get golang.org/dl/go1.15.4
RUN ~/go/bin/go1.15.4 download
RUN mkdir -p ~/go/src/github.com/davidbyttow
RUN cd ~/go/src/github.com/davidbyttow && git clone -v https://github.com/davidbyttow/govips.git
RUN cd ~/go/src/github.com/davidbyttow/govips && ~/go/bin/go1.15.4 get ./...
RUN cd ~/go/src/github.com/davidbyttow/govips && ~/go/bin/go1.15.4 test -v ./...
ENV DEBFULLNAME="Toni Melisma"
ENV DEBEMAIL="[email protected]"
ENV PPANAME="tonimelisma"
ENV DISTRIBUTION="groovy"
ENV DISTVERSION="20.10"
ENV PACKAGE="vips"