@@ -3,21 +3,21 @@ FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim
3
3
# TODO assert C.UTF8 locale and PYTHONUNBUFFERED are set correctly
4
4
ENV PYTHONUNBUFFERED 1
5
5
6
- SHELL ["/bin/bash" , "-euxo pipefail" , "-c" ]
6
+ SHELL ["/bin/bash" , "-euxo" , " pipefail" , "-c" ]
7
7
8
8
WORKDIR /srv
9
9
10
10
# hadolint ignore=DL3008,SC2046
11
11
RUN --mount=type=cache,target=/var/cache/apt \
12
12
--mount=type=bind,source=includes.sh,target=includes.sh \
13
- rm /etc/apt/apt.conf.d/docker-clean \
14
- && echo 'Binary::apt::APT::Keep-Downloaded-Packages "1";' > /etc/apt/apt.conf.d/99cache \
15
- && apt-get update \
16
- && apt-get install -qq --no-install-recommends --yes bash nodejs npm \
17
- $(sed -En "s/'$//; s/^PACKAGES='//p" includes.sh) \
18
- && rm -rf /var/lib/apt/lists/* \
19
- && echo dash dash/sh boolean false | debconf-set-selections \
20
- && DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
13
+ rm /etc/apt/apt.conf.d/docker-clean; \
14
+ echo 'Binary::apt::APT::Keep-Downloaded-Packages "1";' > /etc/apt/apt.conf.d/99cache; \
15
+ apt-get update; \
16
+ apt-get install -qq --no-install-recommends --yes bash nodejs npm \
17
+ $(sed -En "s/'$//; s/^PACKAGES='//p" includes.sh); \
18
+ rm -rf /var/lib/apt/lists/*; \
19
+ echo dash dash/sh boolean false | debconf-set-selections; \
20
+ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
21
21
22
22
# Bind mount caused "EROFS: read-only file system, open '/srv/package-lock.json'"
23
23
COPY package-lock.json ./
0 commit comments