File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change
1
+ ARG DEBIAN_VERSION=bookworm
1
2
ARG SHIMMY_VERSION=latest
2
3
3
4
FROM ghcr.io/lambda-feedback/shimmy:${SHIMMY_VERSION} as shimmy
4
5
5
- FROM debian:bookworm -slim as base
6
+ FROM debian:${DEBIAN_VERSION} -slim as base
6
7
7
8
# set common workdir
8
9
WORKDIR /app
9
10
10
- # Install curl
11
+ # curl & git is required to fetch the lean version specified in `lean-toolchain` if
12
+ # it differs from `LEAN_VERSION`, and to fetch external lake dependencies.
11
13
RUN apt-get update && apt-get install -y \
14
+ git \
12
15
curl \
13
16
&& rm -rf /var/lib/apt/lists/*
14
17
Original file line number Diff line number Diff line change @@ -9,13 +9,14 @@ FROM python:${PYTHON_VERSION}-slim-${DEBIAN_VERSION} as base
9
9
# set common workdir
10
10
WORKDIR /app
11
11
12
- FROM base as lambda-rie
13
-
14
- # Install curl
12
+ # Install git so we can install python packages from git repositories
15
13
RUN apt-get update && apt-get install -y \
14
+ git \
16
15
curl \
17
16
&& rm -rf /var/lib/apt/lists/*
18
17
18
+ FROM base as lambda-rie
19
+
19
20
# Install the AWS Lambda Runtime Interface Emulator
20
21
RUN case $(uname -m) in \
21
22
"aarch64" ) export RIE_BINARY_NAME="aws-lambda-rie-arm64" ;; \
@@ -26,6 +27,11 @@ RUN case $(uname -m) in \
26
27
27
28
FROM base
28
29
30
+ # Install git so we can install python packages from git repositories
31
+ RUN apt-get update && apt-get install -y \
32
+ git \
33
+ && rm -rf /var/lib/apt/lists/*
34
+
29
35
ENV LOG_FORMAT="production"
30
36
31
37
# add shimmy
You can’t perform that action at this time.
0 commit comments