Skip to content

Commit 1cbbe1a

Browse files
authored
restore make blog and make totp (#18252)
1 parent 3682d90 commit 1cbbe1a

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

Dockerfile

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,18 @@ RUN set -eux; \
5252

5353
# Install System level build requirements, this is done before everything else
5454
# because these are rarely ever going to change.
55+
# Usages:
56+
# - build-essential: make
57+
# - git: mkdocs plugin uses this for created/updated
58+
# - libcairo2: mkdocs uses cairosvg
5559
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
5660
--mount=type=cache,target=/var/lib/apt,sharing=locked \
5761
set -x \
5862
&& apt-get update \
59-
&& apt-get install --no-install-recommends -y build-essential \
63+
&& apt-get install --no-install-recommends -y \
64+
build-essential \
65+
git \
66+
libcairo2 \
6067
&& apt-get clean \
6168
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
6269

@@ -201,12 +208,19 @@ RUN set -eux; \
201208

202209
# Install System level Warehouse requirements, this is done before everything
203210
# else because these are rarely ever going to change.
211+
# Usages:
212+
# - build-essential: make
213+
# - postgresql-client: make initdb and friends
214+
# - oathtool: make totp
204215
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
205216
--mount=type=cache,target=/var/lib/apt,sharing=locked \
206217
set -x \
207218
&& if [ "$DEVEL" = "yes" ]; then \
208219
apt-get update \
209-
&& apt-get install --no-install-recommends -y build-essential postgresql-client \
220+
&& apt-get install --no-install-recommends -y \
221+
build-essential \
222+
postgresql-client \
223+
oathtool \
210224
&& apt-get clean \
211225
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*; \
212226
fi

0 commit comments

Comments
 (0)