Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.