Skip to content

Commit

Permalink
update dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
tonimelisma committed Feb 25, 2024
1 parent 44d974d commit 8c5111c
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 58 deletions.
27 changes: 0 additions & 27 deletions build/Dockerfile-ubuntu-18.04

This file was deleted.

29 changes: 0 additions & 29 deletions build/Dockerfile-ubuntu-20.04

This file was deleted.

5 changes: 3 additions & 2 deletions build/Dockerfile-ubuntu-20.10
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This Dockerfile can be used to build Ubuntu/Debian packages with govips

FROM ubuntu:20.10

ENV DEBIAN_FRONTEND noninteractive
Expand All @@ -9,7 +11,6 @@ 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 add-apt-repository -y ppa:tonimelisma/ppa
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
Expand All @@ -20,7 +21,7 @@ RUN cd ~/go/src/github.com/davidbyttow/govips && ~/go/bin/go1.15.4 test -v ./...


ENV DEBFULLNAME="Toni Melisma"
ENV DEBEMAIL="toni.melisma@iki.fi"
ENV DEBEMAIL="toni@melisma.net"
ENV PPANAME="tonimelisma"
ENV DISTRIBUTION="groovy"
ENV DISTVERSION="20.10"
Expand Down
16 changes: 16 additions & 0 deletions build/Dockerfile-ubuntu-23.10
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This Dockerfile can be used to test and build govips

FROM ubuntu:23.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 \
build-essential git golang
RUN apt-get -y --no-install-recommends install ca-certificates
RUN apt-get -y install --no-install-recommends libvips-dev
RUN mkdir -p ~/go/src/github.com/davidbyttow
RUN cd ~/go/src/github.com/davidbyttow && git clone -v https://github.com/davidbyttow/govips.git

0 comments on commit 8c5111c

Please sign in to comment.