Skip to content

Commit

Permalink
Back to using ubuntu 20.04 but install python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Nov 28, 2024
1 parent 6d5d835 commit d488f1b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions container/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM python:3.12-slim-bookworm
FROM ubuntu:20.04

## Get some karma ##
MAINTAINER Florian Briegel, [email protected]

RUN apt-get update
RUN apt-get install -y locales

ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8
ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8

ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND=noninteractive

RUN apt update -y && \
apt install -y wget && \
Expand All @@ -32,6 +32,10 @@ RUN apt update -y
RUN apt-get install -y tan-basda-mocca
RUN dpkg --purge --force-all python3-astropy

RUN add-apt-repository ppa:deadsnakes/ppa
RUN apt update -y
RUN apt install -y python3.12

COPY . lvmtan
RUN cd lvmtan && pip3 install .

Expand Down

0 comments on commit d488f1b

Please sign in to comment.