Debian Codegraph @

paper/containers/tools/atropos-paper/Dockerfile

raw
1 #################################################################
2 # Dockerfile
3 #
4 # Software: Atropos
5 # Software Version: 1.1.17
6 # Description: Atropos image for paper
7 # Website: https://github.com/jdidion/atropos
8 # Provides: atropos
9 # Base Image: phusion/baseimage:latest
10 # Build Cmd: docker build -f Dockerfile -t jdidion/atropos_paper:latest .
11 # Pull Cmd: docker pull jdidion/atropos_paper
12 # Run Cmd: docker run --rm jdidion/atropos_paper atropos -h
13 #################################################################
14 FROM phusion/baseimage:latest
15 WORKDIR /tmp
16 ENV VERSION 1.1.17
17 ENV BUILD_PACKAGES \
18 git
19 ENV RUNTIME_PACKAGES \
20 python3-pip \
21 time
22 RUN apt-get update \
23 && DEBIAN_FRONTEND=noninteractive apt-get -y upgrade \
24 && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq \
25 $BUILD_PACKAGES \
26 $RUNTIME_PACKAGES \
27 && ln -s /usr/bin/python3 /usr/bin/python \
28 && ln -s /usr/bin/pip3 /usr/bin/pip \
29 && pip install cython \
30 && git clone --recursive --branch $VERSION https://github.com/jdidion/atropos \
31 && cd atropos \
32 && make install \
33 && cd ..\
34 && apt-get remove --purge -y $BUILD_PACKAGES \
35 && apt-get autoremove -y \
36 && rm -rf /var/lib/apt/lists/* /tmp/* \
37 && locale-gen en_US.UTF-8 \
38 && update-locale LANG=en_US.UTF-8