Files
continuwuity/docker/Dockerfile.kitchen
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
560 B
Docker
Raw Normal View History

2025-03-15 04:23:24 +00:00
# syntax = docker/dockerfile:1.11-labs
FROM input AS kitchen
ARG var_cache
ARG var_lib_apt
ARG packages
2025-05-30 22:44:05 +00:00
WORKDIR /
COPY --link --from=input . .
2025-03-15 04:23:24 +00:00
ENV packages="\
bzip2 \
ca-certificates \
clang \
cmake \
curl \
git \
libc6-dev \
2025-05-02 00:46:59 +00:00
libssl-dev \
2025-03-15 04:23:24 +00:00
make \
pkg-config \
pkgconf \
xz-utils \
${packages} \
"
RUN \
--mount=type=cache,dst=/var/lock/uwu/local,sharing=locked \
2025-03-15 04:23:24 +00:00
--mount=type=cache,dst=${var_cache},sharing=locked \
--mount=type=cache,dst=${var_lib_apt},sharing=locked \
<<EOF
set -eux
apt-get -y -U install --no-install-recommends ${packages}
EOF