-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update gitpod dockerfile for mariadb and python3.11
Remove duplicate install steps in gitpod.yml
- Loading branch information
1 parent
919c483
commit e21d815
Showing
2 changed files
with
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
FROM gitpod/workspace-python | ||
|
||
# install Redis - we might not need ot remove the apt-lists bit | ||
|
||
|
||
RUN sudo apt-get update && sudo apt-get install -y build-essential libmariadb-dev libmariadbclient-dev libmariadb3 mariadb-client mariadb-common && sudo rm -rf /var/lib/apt/lists/* | ||
# install Mariadb | ||
RUN sudo apt-get update \ | ||
&& sudo apt-get install -y \ | ||
build-essential \ | ||
libmariadb-dev libmariadb-dev-compat \ | ||
mariadb-client mariadb-common \ | ||
&& sudo rm -rf /var/lib/apt/lists/* | ||
|
||
# install RabbitMQ | ||
RUN sudo apt-get update && sudo apt-get install rabbitmq-server -y --fix-missing && sudo rm -rf /var/lib/apt/lists/* | ||
|
||
# https://www.gitpod.io/docs/introduction/languages/python | ||
RUN pyenv install 3.11 \ | ||
&& pyenv global 3.11 | ||
|
||
RUN python -m pip install --upgrade pip uv |
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