Add packages to support deadsnakes Python install in jobs #67

Merged
dboreham merged 2 commits from dboreham/deadsnakes-fixes into main 2023-10-11 22:43:13 +00:00
Showing only changes of commit 47d42b864b - Show all commits

View File

@ -1,5 +1,8 @@
FROM ubuntu:22.04 FROM ubuntu:22.04
# Set system time zone to prevent the tzdata package from hanging looking for user input pater
RUN ln -snf /usr/share/zoneinfo/$CONTAINER_TIMEZONE /etc/localtime && echo $CONTAINER_TIMEZONE > /etc/timezone
# Install basic tools # Install basic tools
RUN apt update && apt install -y gpg curl apt-transport-https ca-certificates lsb-release build-essential RUN apt update && apt install -y gpg curl apt-transport-https ca-certificates lsb-release build-essential
@ -24,3 +27,7 @@ RUN set -uex; \
# Install Docker # Install Docker
RUN apt update && apt install -y docker-ce && rm -rf /var/lib/apt/lists/* RUN apt update && apt install -y docker-ce && rm -rf /var/lib/apt/lists/*
# Install sudo because some actions projects assume it is present, and it is present in GitHub runners
RUN apt update && apt install -y sudo
# Install software-properties-common so we have the add-apt-repository command, used by some actions to add a package repo
RUN apt update && apt install -y software-properties-common