-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
35 lines (32 loc) · 759 Bytes
/
Copy pathDockerfile
File metadata and controls
35 lines (32 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM ubuntu
MAINTAINER Naitik Shah "n@daaku.org"
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get -y --no-install-recommends install \
ca-certificates \
rsync
RUN mkdir /goruntime
RUN rsync \
--copy-links \
--group \
--owner \
--perms \
--recursive \
--relative \
/etc/protocols \
/etc/services \
/etc/ssl/certs/ca-certificates.crt \
/lib64/ld-linux-x86-64.so.2 \
/lib/x86_64-linux-gnu/libc.so.6 \
/lib/x86_64-linux-gnu/libpthread.so.0 \
/lib/x86_64-linux-gnu/libnss_dns.so.2 \
/lib/x86_64-linux-gnu/libresolv.so.2 \
/usr/share/zoneinfo \
/goruntime
CMD tar \
--create \
--dereference \
--directory=/goruntime \
--numeric-owner \
-f - \
.