Fix python install

This commit is contained in:
Daniel Schädler 2026-04-11 15:17:57 +02:00
parent 986ef9e925
commit 919aeabf86
2 changed files with 1 additions and 3 deletions

View File

@ -18,7 +18,6 @@ rails spec:
- when: always
script:
- cd /app
- python3 -m pip install invoke
- inv db-migrate
- inv test
artifacts:
@ -37,7 +36,6 @@ rails e2e spec:
- when: always
script:
- cd /app
- python3 -m pip install invoke
- inv verify-http
after_script:
- 'test -f /tmp/turniere-e2e-server.log && tail -n 200 /tmp/turniere-e2e-server.log || true'

View File

@ -1,7 +1,7 @@
ARG base_commit
FROM ruby:3.1.2-slim
# RUN apk add --no-cache build-base tzdata sqlite sqlite-dev postgresql-dev git && gem install tzinfo-data
RUN apt-get update -qq && apt-get install -y openssl git build-essential libpq-dev nodejs && apt-get clean && gem install tzinfo-data
RUN apt-get update -qq && apt-get install -y openssl git build-essential libpq-dev nodejs python3 python3-pip && apt-get clean && gem install tzinfo-data && python3 -m pip install --no-cache-dir invoke
WORKDIR /app
COPY Gemfile* /app/
RUN gem install bundler:2.3.13 && bundle config set deployment 'true' && bundle install