Fix python install
This commit is contained in:
parent
986ef9e925
commit
919aeabf86
|
|
@ -18,7 +18,6 @@ rails spec:
|
||||||
- when: always
|
- when: always
|
||||||
script:
|
script:
|
||||||
- cd /app
|
- cd /app
|
||||||
- python3 -m pip install invoke
|
|
||||||
- inv db-migrate
|
- inv db-migrate
|
||||||
- inv test
|
- inv test
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
@ -37,7 +36,6 @@ rails e2e spec:
|
||||||
- when: always
|
- when: always
|
||||||
script:
|
script:
|
||||||
- cd /app
|
- cd /app
|
||||||
- python3 -m pip install invoke
|
|
||||||
- inv verify-http
|
- inv verify-http
|
||||||
after_script:
|
after_script:
|
||||||
- 'test -f /tmp/turniere-e2e-server.log && tail -n 200 /tmp/turniere-e2e-server.log || true'
|
- 'test -f /tmp/turniere-e2e-server.log && tail -n 200 /tmp/turniere-e2e-server.log || true'
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
ARG base_commit
|
ARG base_commit
|
||||||
FROM ruby:3.1.2-slim
|
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 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
|
WORKDIR /app
|
||||||
COPY Gemfile* /app/
|
COPY Gemfile* /app/
|
||||||
RUN gem install bundler:2.3.13 && bundle config set deployment 'true' && bundle install
|
RUN gem install bundler:2.3.13 && bundle config set deployment 'true' && bundle install
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue