Skip to content

Commit d5414a7

Browse files
committed
Update Dockerfile
- Add ca-certificates as a dependency to update the CA certs database to allow HTTPS resolution (required to clone with git and wget the busybx - Add bzip2 as a dependency to decompress the busybox bzip2 archive
1 parent 1fc03ab commit d5414a7

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ MAINTAINER Virginie Van den Schrieck, virginie.vandenschrieck@pythia-project.org
66
RUN cat /etc/resolv.conf
77
RUN apt-get update \
88
&& apt-get install -y gcc libc6-dev make curl wget xz-utils\
9-
--no-install-recommends \
9+
ca-certificates bzip2 --no-install-recommends \
1010
&& rm -rf /var/lib/apt/lists/*
1111

1212

@@ -37,8 +37,7 @@ RUN apt-get update \
3737

3838
RUN apt-get update \
3939
&& apt-get install -y fakeroot squashfs-tools libc6-dev-i386 bc
40-
41-
40+
4241
#Install make4
4342

4443
WORKDIR /home/
@@ -49,7 +48,7 @@ RUN ./configure && make && make install &&make distclean
4948
#Install Pythia
5049

5150
WORKDIR /home
52-
RUN git clone https://github.com/pythia-project/pythia.git
51+
RUN git clone https://github.com/pythia-project/pythia.git
5352
RUN ls && pwd
5453
WORKDIR /home/pythia/
5554
RUN git submodule update --init --recursive && make
@@ -60,5 +59,3 @@ RUN echo "tmpfs /dev/shm tmpfs defaults,nosuid,nodev 0 0" >> /etc/fstab && echo
6059

6160
#TODO manually when running in privileged mode : mount /dev/shm
6261

63-
64-

0 commit comments

Comments
 (0)