Skip to content

Commit

Permalink
Merge pull request #20 from C4T-BuT-S4D/asokol123/fix-sage-docker
Browse files Browse the repository at this point in the history
Use ubuntu:jammy instead of python:3.10 to fix sage
  • Loading branch information
jnovikov authored Nov 2, 2023
2 parents 4eee7b9 + eb4033b commit 1ba3943
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions client_env/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,36 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
-o reaper \
cmd/reaper/main.go

FROM python:3.10 as image-full
FROM ubuntu:jammy as image-full

SHELL ["/bin/bash", "-o", "pipefail", "-c"]

ARG DEBIAN_FRONTEND=noninteractive
RUN --mount=type=cache,sharing=private,target=/var/cache/apt \
apt-get update && \
apt-get install -y \
build-essential \
curl \
dbus \
dnsutils \
file \
gcc \
libblas-dev \
libjpeg8-dev \
liblapack-dev \
libmpc-dev \
libmpfr-dev \
dnsutils \
netcat-openbsd \
libpng-dev \
libssl-dev \
net-tools \
dbus \
vim && \
netcat-openbsd \
python-is-python3 \
python3 \
python3-dev \
python3-pip \
python3-venv \
vim \
wget && \
rm -rf /var/lib/apt/lists/*

COPY client_env/requirements.txt /requirements.txt
Expand Down

0 comments on commit 1ba3943

Please sign in to comment.