File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 3838 pv ${BUILD_TAR} | tar xz; \
3939 eleven distroless ${BUILD_BIN};
4040
41- # :: FILE- SYSTEM
41+ # :: FILE SYSTEM
4242 FROM alpine AS file-system
4343 ARG APP_ROOT
4444
4545 RUN set -ex; \
4646 mkdir -p /distroless${APP_ROOT}/var; \
47- mkdir -p /distroless/plugins-storage;
47+ mkdir -p /distroless${APP_ROOT}/plugins; \
48+ mkdir -p ${APP_ROOT}/plugins; \
49+ ln -sf ${APP_ROOT}/plugins /distroless/plugins-storage;
4850
4951
5052# ╔═════════════════════════════════════════════════════╗
7678 COPY --from=distroless / /
7779 COPY --from=distroless-curl / /
7880 COPY --from=build /distroless/ /
79- COPY --from=file-system /distroless/ /
81+ COPY --from=file-system --chown=${APP_UID}:${APP_GID} /distroless/ /
8082
8183# :: Volumes
8284 VOLUME ["${APP_ROOT}/var" ]
You can’t perform that action at this time.
0 commit comments