-
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 with correct system dependencies
python 3.11 mariadb not mysql no redis
- Loading branch information
1 parent
01f4162
commit 919c483
Showing
1 changed file
with
11 additions
and
3 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,7 +1,15 @@ | ||
FROM gitpod/workspace-mysql | ||
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 redis-server && sudo rm -rf /var/lib/apt/lists/* | ||
|
||
|
||
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 RabbitMQ | ||
RUN sudo apt-get update && sudo apt-get install rabbitmq-server -y --fix-missing && sudo rm -rf /var/lib/apt/lists/* | ||
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 |