time to test

This commit is contained in:
2020-03-22 03:26:16 -07:00
parent 4d84e4d0f9
commit ce6049e631
8 changed files with 384 additions and 29 deletions

View File

@@ -1,14 +1,14 @@
# focal 2020.01 dev
FROM ubuntu@sha256:d050ed7278c16ff627e4a70d7d353f1a2ec74d8a0b66e5a865356d92f5f6d87b
FROM ubuntu:bionic
ENV DEBIAN_FRONTEND noninteractive
ARG UBUNTU_MIRROR=http://archive.ubuntu.com/ubuntu
RUN echo "deb $UBUNTU_MIRROR focal main universe restricted multiverse" > /etc/apt/sources.list.new && \
echo "deb $UBUNTU_MIRROR focal-updates main universe restricted multiverse" >> /etc/apt/sources.list.new && \
echo "deb $UBUNTU_MIRROR focal-security main universe restricted multiverse" >> /etc/apt/sources.list.new && \
echo "deb $UBUNTU_MIRROR focal-backports main universe restricted multiverse" >> /etc/apt/sources.list.new && \
RUN echo "deb $UBUNTU_MIRROR bionic main universe restricted multiverse" > /etc/apt/sources.list.new && \
echo "deb $UBUNTU_MIRROR bionic-updates main universe restricted multiverse" >> /etc/apt/sources.list.new && \
echo "deb $UBUNTU_MIRROR bionic-security main universe restricted multiverse" >> /etc/apt/sources.list.new && \
echo "deb $UBUNTU_MIRROR bionic-backports main universe restricted multiverse" >> /etc/apt/sources.list.new && \
mv /etc/apt/sources.list.new /etc/apt/sources.list
COPY ./root /tmp/rootoverlay
@@ -17,14 +17,21 @@ RUN \
apt update && \
apt -y upgrade && \
apt -y install \
asciidoc \
build-essential \
ca-certificates \
git \
golang \
libreadline-dev \
locales \
python2 \
mercurial \
python \
rsync \
ruby \
ruby-dev \
runit \
scons \
swig \
&& \
go get -v -u github.com/peterbourgon/runsvinit && \
cp /root/go/bin/runsvinit /usr/local/sbin/runsvinit && \
@@ -39,10 +46,13 @@ COPY ./src /usr/local/src/adchpp
RUN \
cd /usr/local/src/adchpp && \
python2 build_util.py && \
ls
scons && \
cd build/debug-default && \
cp bin/adchppd /usr/local/bin && \
cp bin/*.so /usr/local/lib && \
ldconfig
EXPOSE 411
EXPOSE 2780
VOLUME /config