From 0f3945733d0f0e4d46ae67007fc453a41d4563e6 Mon Sep 17 00:00:00 2001 From: sudoii <56720445+sudoii@users.noreply.github.com> Date: Sat, 26 Sep 2020 23:52:45 +0800 Subject: [PATCH] Optimize Dockerfile --- autodeploy/Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/autodeploy/Dockerfile b/autodeploy/Dockerfile index edd9d80..1c4c9f2 100755 --- a/autodeploy/Dockerfile +++ b/autodeploy/Dockerfile @@ -2,14 +2,14 @@ FROM debian:latest as builder MAINTAINER cppla https://cpp.la -RUN apt-get update -RUN apt-get -y install gcc g++ make git -RUN git clone https://github.com/cppla/ServerStatus +RUN apt-get update && \ + apt-get -y install gcc g++ make git && \ + git clone https://github.com/cppla/ServerStatus WORKDIR /ServerStatus/server -RUN make -RUN pwd && ls -a +RUN make && \ + pwd && ls -a # glibc env run FROM nginx:latest