Skip to content

Instantly share code, notes, and snippets.

@sebug
Created December 17, 2019 16:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sebug/446a374a0e354b5c1c729cdb1acedf23 to your computer and use it in GitHub Desktop.
Save sebug/446a374a0e354b5c1c729cdb1acedf23 to your computer and use it in GitHub Desktop.
FROM ubuntu:18.04
# To make it easier for build and release pipelines to run apt-get,
# configure apt to not require confirmation (assume the -y argument by default)
ENV DEBIAN_FRONTEND=noninteractive
RUN echo "APT::Get::Assume-Yes \"true\";" > /etc/apt/apt.conf.d/90assumeyes
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
curl \
jq \
git \
libicu60 \
iputils-ping \
libcurl4 \
libunwind8 \
netcat \
openjdk-8-jdk
RUN curl -O http://archive.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu6_amd64.deb \
&& dpkg -i libssl1.0.0_1.0.2n-1ubuntu6_amd64.deb
WORKDIR /azp
COPY ./start.sh .
RUN chmod +x start.sh
COPY ./our-rootca.cer .
RUN cp ./our-rootca.cer /usr/local/share/ca-certificates/our-rootca.crt
RUN update-ca-certificates
CMD ["./start.sh"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment