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
|
# 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 \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
vim \
|
vim \
|
||||||
|
|
@ -17,7 +17,7 @@ RUN pip install -r requirements/production.txt
|
||||||
|
|
||||||
|
|
||||||
# stage 2
|
# 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 \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
git \
|
git \
|
||||||
|
|
@ -36,7 +36,7 @@ RUN npm run build
|
||||||
|
|
||||||
|
|
||||||
# stage 3
|
# 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 \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
postgresql-client \
|
postgresql-client \
|
||||||
|
|
@ -80,7 +80,7 @@ RUN python src/manage.py collectstatic --noinput \
|
||||||
|
|
||||||
|
|
||||||
# (optional) stage 4
|
# (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 \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
vim \
|
vim \
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
FROM node:12-bullseye
|
FROM node:16-bullseye
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN mkdir /app/src
|
RUN mkdir /app/src
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
static:
|
static:
|
||||||
stage: build
|
stage: build
|
||||||
image: node:16-bookworm
|
image: node:16-bullseye
|
||||||
before_script:
|
before_script:
|
||||||
- npm install
|
- npm install
|
||||||
script:
|
script:
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
python-linting:
|
python-linting:
|
||||||
stage: lint
|
stage: lint
|
||||||
image: python:3.11-bookworm
|
image: python:3.9-bullseye
|
||||||
before_script:
|
before_script:
|
||||||
- pip install -r requirements/ci.txt
|
- pip install -r requirements/ci.txt
|
||||||
script:
|
script:
|
||||||
|
|
@ -14,7 +14,7 @@ python-linting:
|
||||||
|
|
||||||
javascript-linting:
|
javascript-linting:
|
||||||
stage: lint
|
stage: lint
|
||||||
image: node:16-bookworm
|
image: node:16-bullseye
|
||||||
before_script:
|
before_script:
|
||||||
- npm install
|
- npm install
|
||||||
script:
|
script:
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ python-tests:
|
||||||
services:
|
services:
|
||||||
- postgres:15
|
- postgres:15
|
||||||
- memcached:1.5.22
|
- memcached:1.5.22
|
||||||
image: python:3.11-bookworm
|
image: python:3.9-bullseye
|
||||||
before_script:
|
before_script:
|
||||||
- pip install -r requirements/ci.txt
|
- pip install -r requirements/ci.txt
|
||||||
script:
|
script:
|
||||||
|
|
@ -12,7 +12,7 @@ python-tests:
|
||||||
|
|
||||||
javascript-tests:
|
javascript-tests:
|
||||||
stage: test
|
stage: test
|
||||||
image: node:16-bookworm
|
image: node:16-bullseye
|
||||||
before_script:
|
before_script:
|
||||||
- npm install
|
- npm install
|
||||||
script:
|
script:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue