-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
30 lines (21 loc) · 840 Bytes
/
Dockerfile
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
FROM alpine:latest
# just for boot scripts
RUN apk update && apk add bash
RUN mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2
RUN mkdir -p /netapp /etc/netappdvp
# need to be able to drop our .sock in /run/docker/plugins
RUN ln -s /host/run/docker /run/docker
# docker now expects the spec file in /etc/docker/plugins
RUN mkdir -p /etc/docker
RUN mkdir -p /host/etc/docker/plugins
RUN ln -s /host/etc/docker/plugins /etc/docker/plugins
RUN mkdir -p /host/var/log
RUN rmdir /var/log
RUN ln -s /host/var/log /var/log
RUN mkdir -p /host/var/lib/docker-volumes
RUN ln -s /host/var/lib/docker-volumes /var/lib/docker-volumes
ADD netappdvp /netapp
ADD boot.sh /netapp
#ENTRYPOINT ["/netapp/netappdvp", "--in-container=true"]
ENTRYPOINT ["/netapp/boot.sh", "--", "--in-container=true"]
WORKDIR /etc/netappdvp