2023-01-28 00:05:03 +00:00
|
|
|
ARG DEBIAN_HASH
|
2023-06-16 06:23:10 +00:00
|
|
|
FROM debian@sha256:${DEBIAN_HASH} as build-base
|
2023-01-28 00:05:03 +00:00
|
|
|
|
|
|
|
ARG CONFIG_DIR
|
|
|
|
ADD ${CONFIG_DIR} /config
|
|
|
|
|
|
|
|
ARG SCRIPTS_DIR
|
|
|
|
ADD ${SCRIPTS_DIR} /usr/local/bin
|
|
|
|
|
2023-06-16 06:23:10 +00:00
|
|
|
ARG FETCH_DIR
|
|
|
|
RUN --mount=type=bind,source=fetch,target=/fetch,rw \
|
|
|
|
packages-install
|