File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed
Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ COPY --from=deps /sbin/mount.nfs /sbin/mount.nfs4 /sbin/
3131COPY --from=deps /etc/netconfig /etc/
3232COPY --from=deps /nfs-deps/ /
3333
34+ COPY --from=deps /etc/ssl/certs/ /etc/ssl/certs/
35+
3436ARG BIN=trident_orchestrator
3537ARG CLI_BIN=tridentctl
3638ARG CHWRAP_BIN=chwrap.tar
Original file line number Diff line number Diff line change 1- FROM busybox:uclibc as busybox
1+ FROM alpine:3 AS deps
2+
3+ RUN mkdir /netapp
4+ RUN mkdir -p /var/lib/docker-volumes/netapp
25
36FROM scratch
47
58LABEL maintainers="The NetApp Trident Team" \
69 app="trident.netapp.io" \
710 description="Trident Storage Orchestrator"
811
9- COPY --from=busybox /bin/sh /bin/mkdir /bin/ln /bin/rm /usr/bin/
10- SHELL ["/usr/bin/sh" , "-c" ]
11-
12- RUN /usr/bin/mkdir /netapp
13- RUN /usr/bin/mkdir -p /var/lib/docker-volumes/netapp
14-
15- RUN /usr/bin/rm /usr/bin/*
12+ COPY --from=deps /etc/ssl/certs/ /etc/ssl/certs/
13+ COPY --from=deps /netapp /netapp
14+ COPY --from=deps /var/lib/docker-volumes/netapp /var/lib/docker-volumes/netapp
1615
1716ARG BIN=trident
18- ENV BIN $BIN
19- ENV DOCKER_PLUGIN_MODE 1
17+ ENV BIN= $BIN
18+ ENV DOCKER_PLUGIN_MODE= 1
2019
2120COPY $BIN /netapp
2221ADD chwrap.tar /
You can’t perform that action at this time.
0 commit comments