Skip to content

Commit

Permalink
Update gitpod dockerfile with correct system dependencies
Browse files Browse the repository at this point in the history
python 3.11
mariadb not mysql
no redis
  • Loading branch information
mrchrisadams committed May 10, 2024
1 parent 01f4162 commit 919c483
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .gitpod.dockerfile
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

0 comments on commit 919c483

Please sign in to comment.