CCF/docker/app_ci

21 строка
649 B
Plaintext

# Application Continuous Integration image
# Contains a CCF release, compile toolchain and Azure CLI tooling
FROM ubuntu:18.04
ARG extra_vars
RUN echo "APT::Acquire::Retries \"5\";" | tee /etc/apt/apt.conf.d/80-retries
# Work-around for https://github.com/intel/linux-sgx/issues/395
RUN mkdir -p /etc/init
COPY getting_started/setup_vm/ /setup_vm/
RUN apt update \
&& apt install -y ansible software-properties-common bsdmainutils dnsutils \
&& cd setup_vm \
&& ansible-playbook app-dev.yml $extra_vars \
&& rm -rf /tmp/* \
&& apt remove -y ansible software-properties-common \
&& apt -y autoremove \
&& apt -y clean