[infra] (nit) optimizing away couple layers

This commit is contained in:
Mike Aizatsky 2016-12-06 21:53:28 -08:00 committed by GitHub
parent bddc4d7fee
commit 8156f1d7a1
1 changed files with 2 additions and 5 deletions

View File

@ -19,14 +19,11 @@
FROM ubuntu:16.04
MAINTAINER mike.aizatsky@gmail.com
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get autoremove -y
RUN apt-get update && apt-get upgrade -y && apt-get autoremove -y
ENV OUT=/out
ENV SRC=/src
ENV WORK=/work
RUN mkdir -p $OUT $SRC $WORK && chmod a+rwx $OUT $SRC $WORK
ENV PATH="$PATH:/out"
RUN mkdir -p $OUT $SRC $WORK && chmod a+rwx $OUT $SRC $WORK