Skip to content

Commit 69c8399

Browse files
committed
Add python installation for RoboCode
1 parent fe8c3a6 commit 69c8399

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

docker/RoboCode.Dockerfile

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,19 @@ FROM maven:3.9-eclipse-temurin-24
33
ARG DEBIAN_FRONTEND=noninteractive
44
ENV TZ=Etc/UTC
55

6+
# Install Python 3.10+, pip, and common tools
67
RUN apt update && apt install -y \
7-
wget \
8-
git \
9-
build-essential \
10-
ant \
11-
unzip \
12-
&& rm -rf /var/lib/apt/lists/*
8+
wget \
9+
git \
10+
build-essential \
11+
ant \
12+
unzip \
13+
python3 \
14+
python3-pip \
15+
python3-venv \
16+
&& ln -sf /usr/bin/python3 /usr/bin/python \
17+
&& ln -sf /usr/bin/pip3 /usr/bin/pip \
18+
&& rm -rf /var/lib/apt/lists/*
1319

1420
ARG GITHUB_TOKEN
1521
RUN git clone https://${GITHUB_TOKEN}@github.com/emagedoc/RoboCode.git /workspace \

0 commit comments

Comments
 (0)