-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
22 lines (22 loc) · 651 Bytes
/
Copy pathDockerfile
File metadata and controls
22 lines (22 loc) · 651 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM ubuntu:18.04
MAINTAINER https://wtanaka.com/dockerfiles
RUN apt-get update \
&& apt-get -y upgrade \
&& apt-get clean autoclean -y \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt \
/var/lib/dpkg/arch \
/var/lib/dpkg/available \
/var/lib/dpkg/cmethopt \
/var/lib/dpkg/diversions \
/var/lib/dpkg/diversions-old \
/var/lib/dpkg/lock \
/var/lib/dpkg/parts \
/var/lib/dpkg/statoverride \
/var/lib/dpkg/status-old \
/var/lib/dpkg/triggers \
/var/lib/cache \
/var/lib/log
#&& echo 'Defaults !requiretty' > /etc/sudoers.d/norequiretty
COPY run-as-hostuid.sh /
ENTRYPOINT ["/run-as-hostuid.sh"]