Created
December 17, 2019 16:58
-
-
Save sebug/446a374a0e354b5c1c729cdb1acedf23 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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