File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1
1
FROM drupal:8.5.0
2
2
3
+ # Use sed to remove the specified lines from sources.list as these deb.debian.org returning 404 error
4
+ RUN sed -i '/deb http:\/\/ deb.debian.org\/ debian stretch main/d' /etc/apt/sources.list
5
+ RUN sed -i '/deb http:\/\/ deb.debian.org\/ debian stretch-updates main/d' /etc/apt/sources.list
6
+ RUN sed -i '/deb http:\/\/ security.debian.org stretch\/ updates main/d' /etc/apt/sources.list
7
+
8
+ # Use echo to append the repository lines to the sources.list file to fetch the packages from archive
9
+ RUN echo "deb http://archive.debian.org/debian/ stretch main" >> /etc/apt/sources.list
10
+ RUN echo "deb http://archive.debian.org/debian-security/ stretch/updates main" >> /etc/apt/sources.list
11
+
3
12
RUN apt-get update
4
13
RUN apt-get -y install supervisor
5
14
RUN apt-get -y install iputils-ping
Original file line number Diff line number Diff line change 1
1
docker build -t securecodingdojo/redblueapp .
2
- docker run -p 8888:8888 -p 8080:80 -e MASTER_SALT=" $CHALLENGE_MASTER_SALT " securecodingdojo/redblueapp
2
+ docker run -p 8888:8888 -p 8080:80 -e MASTER_SALT=" $CHALLENGE_MASTER_SALT " securecodingdojo/redblueapp
You can’t perform that action at this time.
0 commit comments