Skip to content

Commit 07a3bcd

Browse files
committed
Add security update funtionality, clean up
1 parent 238a5de commit 07a3bcd

File tree

1 file changed

+24
-20
lines changed

1 file changed

+24
-20
lines changed

Dockerfile

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ ENV VER_CGPVCF="v2.2.1"
77
ENV VER_VCFTOOLS="0.1.16"
88

99
RUN apt-get -yq update
10-
RUN apt-get install -yq --no-install-recommends\
11-
locales\
12-
g++\
13-
make\
14-
gcc\
15-
pkg-config\
16-
zlib1g-dev
10+
RUN apt-get install -yq --no-install-recommends \
11+
locales \
12+
g++ \
13+
make \
14+
gcc \
15+
pkg-config \
16+
zlib1g-dev
1717

1818
RUN locale-gen en_US.UTF-8
1919
RUN update-locale LANG=en_US.UTF-8
@@ -41,19 +41,23 @@ LABEL maintainer="cgphelp@sanger.ac.uk" \
4141
description="cgpPindel docker"
4242

4343
RUN apt-get -yq update
44-
RUN apt-get install -yq --no-install-recommends\
45-
apt-transport-https\
46-
locales\
47-
curl\
48-
ca-certificates\
49-
libperlio-gzip-perl\
50-
bzip2\
51-
psmisc\
52-
time\
53-
zlib1g\
54-
liblzma5\
55-
libncurses5\
56-
p11-kit
44+
RUN apt-get install -yq --no-install-recommends \
45+
apt-transport-https \
46+
locales \
47+
curl \
48+
ca-certificates \
49+
libperlio-gzip-perl \
50+
bzip2 \
51+
psmisc \
52+
time \
53+
zlib1g \
54+
liblzma5 \
55+
libncurses5 \
56+
p11-kit \
57+
unattended-upgrades && \
58+
unattended-upgrade -d -v && \
59+
apt-get remove -yq unattended-upgrades && \
60+
apt-get autoremove -yq
5761

5862
RUN locale-gen en_US.UTF-8
5963
RUN update-locale LANG=en_US.UTF-8

0 commit comments

Comments
 (0)