Skip to content

Commit f0a627c

Browse files
committed
semi
1 parent 7b430c6 commit f0a627c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Dockerfile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@ FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim
33
# TODO assert C.UTF8 locale and PYTHONUNBUFFERED are set correctly
44
ENV PYTHONUNBUFFERED 1
55

6-
SHELL ["/bin/bash", "-euxo pipefail", "-c"]
6+
SHELL ["/bin/bash", "-euxo", "pipefail", "-c"]
77

88
WORKDIR /srv
99

1010
# hadolint ignore=DL3008,SC2046
1111
RUN --mount=type=cache,target=/var/cache/apt \
1212
--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
2121

2222
# Bind mount caused "EROFS: read-only file system, open '/srv/package-lock.json'"
2323
COPY package-lock.json ./

0 commit comments

Comments
 (0)