-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test Python 3.12 on Ubuntu 24.04 LTS
- Loading branch information
1 parent
147dedd
commit 280f70b
Showing
5 changed files
with
36 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ubuntu:22.04 | ||
FROM ubuntu:24.04 | ||
ENV GNOCCHI_WORKSPACE /github/workspace | ||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
|
@@ -15,6 +15,7 @@ RUN apt-get update -y && apt-get install -qy \ | |
python3 \ | ||
python3-dev \ | ||
python3-pip \ | ||
python3-virtualenv \ | ||
python3.9 \ | ||
python3.9-dev \ | ||
python3.9-distutils \ | ||
|
@@ -55,9 +56,6 @@ ENV LANG en_US.UTF-8 | |
RUN update-locale | ||
RUN locale-gen $LANG | ||
|
||
#NOTE(sileht): Upgrade python dev tools | ||
RUN python3 -m pip install -U pip tox virtualenv | ||
|
||
RUN npm install [email protected] --global | ||
|
||
RUN groupadd --gid 1001 tester | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
#!/bin/sh | ||
python3 -m virtualenv env | ||
. env/bin/activate | ||
pip install tox | ||
$@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters