mirror of
https://git.phreedom.club/localhost_frssoft/compy.git
synced 2024-11-27 02:21:34 +00:00
Reduce Docker layers and optimize apt usage
This commit is contained in:
parent
7a40f35b33
commit
d4d2fb19df
14
Dockerfile
14
Dockerfile
|
@ -1,12 +1,14 @@
|
|||
FROM ubuntu:16.04
|
||||
MAINTAINER Barna Csorogi <barnacs@justletit.be>
|
||||
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get upgrade -y
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
||||
libjpeg8 \
|
||||
openssl \
|
||||
ssl-cert
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
||||
libjpeg8 \
|
||||
openssl \
|
||||
ssl-cert && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /opt/compy
|
||||
COPY \
|
||||
|
|
Loading…
Reference in a new issue