Downgrade docker images for now
This commit is contained in:
parent
ef0c070755
commit
6ac4e5d5c2
5 changed files with 10 additions and 10 deletions
|
|
@ -1,5 +1,5 @@
|
|||
# stage 1
|
||||
FROM python:3.11-bookworm as backend
|
||||
FROM python:3.9-bullseye as backend
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
vim \
|
||||
|
|
@ -17,7 +17,7 @@ RUN pip install -r requirements/production.txt
|
|||
|
||||
|
||||
# stage 2
|
||||
FROM node:current-bookworm AS frontend-build
|
||||
FROM node:current-bullseye AS frontend-build
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
git \
|
||||
|
|
@ -36,7 +36,7 @@ RUN npm run build
|
|||
|
||||
|
||||
# stage 3
|
||||
FROM python:3.11-bookworm as production
|
||||
FROM python:3.9-bullseye as production
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
postgresql-client \
|
||||
|
|
@ -80,7 +80,7 @@ RUN python src/manage.py collectstatic --noinput \
|
|||
|
||||
|
||||
# (optional) stage 4
|
||||
FROM python:3.11-bookworm as development
|
||||
FROM python:3.9-bullseye as development
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
vim \
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:12-bullseye
|
||||
FROM node:16-bullseye
|
||||
|
||||
WORKDIR /app
|
||||
RUN mkdir /app/src
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
static:
|
||||
stage: build
|
||||
image: node:16-bookworm
|
||||
image: node:16-bullseye
|
||||
before_script:
|
||||
- npm install
|
||||
script:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
python-linting:
|
||||
stage: lint
|
||||
image: python:3.11-bookworm
|
||||
image: python:3.9-bullseye
|
||||
before_script:
|
||||
- pip install -r requirements/ci.txt
|
||||
script:
|
||||
|
|
@ -14,7 +14,7 @@ python-linting:
|
|||
|
||||
javascript-linting:
|
||||
stage: lint
|
||||
image: node:16-bookworm
|
||||
image: node:16-bullseye
|
||||
before_script:
|
||||
- npm install
|
||||
script:
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ python-tests:
|
|||
services:
|
||||
- postgres:15
|
||||
- memcached:1.5.22
|
||||
image: python:3.11-bookworm
|
||||
image: python:3.9-bullseye
|
||||
before_script:
|
||||
- pip install -r requirements/ci.txt
|
||||
script:
|
||||
|
|
@ -12,7 +12,7 @@ python-tests:
|
|||
|
||||
javascript-tests:
|
||||
stage: test
|
||||
image: node:16-bookworm
|
||||
image: node:16-bullseye
|
||||
before_script:
|
||||
- npm install
|
||||
script:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue