# Application Runtime image # Contains the cchost binary and its runtime dependencies 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-run.yml $extra_vars \ && rm -rf /tmp/* \ && apt remove -y ansible software-properties-common \ && apt -y autoremove \ && apt -y clean