Skip to content

Commit

Permalink
Merge pull request #2 from MrDoobPG/patch-1
Browse files Browse the repository at this point in the history
Update Dockerfile
  • Loading branch information
physk authored Jan 11, 2020
2 parents 4eca9dc + b5530af commit 8a639c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@ RUN echo "cgi.fix_pathinfo=0" > ${php_vars} &&\
# ln -s /etc/php7/php.ini /etc/php7/conf.d/php.ini && \
# find /etc/php7/conf.d/ -name "*.ini" -exec sed -i -re 's/^(\s*)#(.*)/\1;\2/g' {} \;

##DOCKER IMAGE VULNERABILITY (CVE-2019-5021)
# make sure root login is disabled
RUN sed -i -e 's/^root::/root:!:/' /etc/shadow

# Add Scripts
ADD scripts/start.sh /start.sh
Expand Down

0 comments on commit 8a639c8

Please sign in to comment.