Skip to content

Commit 78a2119

Browse files
committed
Fix lint in Dockerfile
1 parent 38071bc commit 78a2119

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# start with ubuntu
2-
FROM ubuntu
2+
FROM ubuntu:20.04
33

44
# it me!
55
LABEL maintainer="[email protected]"
66

7-
# install deps
7+
# install deps and cleanup
88
RUN apt-get update && \
9-
apt-get -y install gcc build-essential
9+
apt-get -y install --no-install-recommends \
10+
gcc build-essential && \
11+
rm -rf /var/lib/apt/lists/*
1012

1113
# setup environment
1214
ENV app /root/app/

0 commit comments

Comments
 (0)