Skip to content

Commit c4bba77

Browse files
committed
add git to the docker image
1 parent 715b821 commit c4bba77

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Container image that runs your code
22
FROM python:3.8-slim
33

4+
RUN apt update \
5+
&& apt install -y --no-install-recommends git \
6+
&& rm -rf /var/lib/apt/lists/* \
7+
/var/cache/apt/archives \
8+
/tmp/*
9+
410
# Copies your code file from your action repository to the filesystem path `/` of the container
511
COPY entrypoint.sh /entrypoint.sh
612

0 commit comments

Comments
 (0)