finally builds

This commit is contained in:
2020-03-04 23:56:37 -08:00
parent 7e6ec689e8
commit fdcc232bc2
3 changed files with 31 additions and 11 deletions

View File

@@ -19,14 +19,24 @@ echo "deb $UBUNTU_MIRROR focal-security main universe restricted multiverse" >>
echo "deb $UBUNTU_MIRROR focal-backports main universe restricted multiverse" >> /etc/apt/sources.list.new && \
mv /etc/apt/sources.list.new /etc/apt/sources.list
# we only install essential system packages here
ARG SYSTEM_PACKAGES="locales build-essential ca-certificates git golang rsync runit software-properties-common"
ARG ADDITIONAL_PKGS=""
RUN \
apt update && \
apt -y upgrade && \
apt -y install $SYSTEM_PACKAGES && \
apt -y install \
$ADDITIONAL_PKGS \
build-essential \
ca-certificates \
daemontools \
git \
golang \
locales \
rsync \
runit \
software-properties-common \
&& \
go get -v -u git.eeqj.de/sneak/runsvinit && \
cp /root/go/bin/runsvinit /usr/local/sbin/runsvinit && \
rm -r /root/go && \