mirror of
https://git.phreedom.club/localhost_frssoft/compy.git
synced 2025-03-20 05:19:47 +00:00
Reduce Docker layers and optimize apt usage
This commit is contained in:
parent
7a40f35b33
commit
d4d2fb19df
1 changed files with 8 additions and 6 deletions
14
Dockerfile
14
Dockerfile
|
@ -1,12 +1,14 @@
|
||||||
FROM ubuntu:16.04
|
FROM ubuntu:16.04
|
||||||
MAINTAINER Barna Csorogi <barnacs@justletit.be>
|
MAINTAINER Barna Csorogi <barnacs@justletit.be>
|
||||||
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update
|
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
||||||
RUN DEBIAN_FRONTEND=noninteractive apt-get upgrade -y
|
DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && \
|
||||||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
||||||
libjpeg8 \
|
libjpeg8 \
|
||||||
openssl \
|
openssl \
|
||||||
ssl-cert
|
ssl-cert && \
|
||||||
|
DEBIAN_FRONTEND=noninteractive apt-get clean && \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
WORKDIR /opt/compy
|
WORKDIR /opt/compy
|
||||||
COPY \
|
COPY \
|
||||||
|
|
Loading…
Add table
Reference in a new issue