From da65d381e3a397317648872269a0d39fafd2439d Mon Sep 17 00:00:00 2001 From: mamang Date: Tue, 6 Nov 2018 13:12:49 +0800 Subject: [PATCH] Update dockerfile --- ping-service/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ping-service/Dockerfile b/ping-service/Dockerfile index 999d2a7..9783b43 100644 --- a/ping-service/Dockerfile +++ b/ping-service/Dockerfile @@ -1,7 +1,7 @@ # Use ubuntu 16.04 FROM ubuntu:16.04 -RUN apt-get update && apt-get -y dist-upgrade --fix-missing --fix-broken +RUN apt-get update --fix-missing && apt-get -y dist-upgrade --fix-missing --fix-broken # install socat editor ssh RUN apt-get install curl netcat-openbsd vim nano openssh-server socat lib32ncurses5 python python-pip python-dev iputils-ping -y @@ -21,6 +21,7 @@ RUN echo 'alias kill="echo no kill please!"' >> ~/.bashrc RUN chmod 700 /usr/bin/* /bin/* /dev/shm RUN chmod 755 /usr/bin/env /bin/dash /bin/bash /bin/sh /bin/nc /bin/cat /usr/bin/curl /usr/bin/groups /usr/bin/id /bin/ls /usr/bin/python /bin/ping +RUN chmod 4755 /usr/local/bin/ping RUN chown root:ksl /chall/ping-service.py # ubah nama file RUN chmod 775 /chall/ping-service.py # ubah nama file