mirror of
https://github.com/frappe/frappe_docker.git
synced 2025-03-16 15:52:24 +00:00
Fix Python version for v12
This commit is contained in:
parent
de04eb032c
commit
9d41a6d24e
@ -2,7 +2,8 @@
|
||||
# This is done to ensures that node-sass binary remains common.
|
||||
# node-sass is required to enable website theme feature used
|
||||
# by Website Manager role in Frappe Framework
|
||||
FROM python:3.9-slim-bullseye
|
||||
ARG PYTHON_VERSION=3.9
|
||||
FROM python:${PYTHON_VERSION}-slim-bullseye
|
||||
|
||||
ARG GIT_REPO=https://github.com/frappe/frappe
|
||||
ARG GIT_BRANCH=develop
|
||||
|
@ -1,4 +1,5 @@
|
||||
FROM python:3.9-slim-bullseye
|
||||
ARG PYTHON_VERSION=3.9
|
||||
FROM python:${PYTHON_VERSION}-slim-bullseye
|
||||
|
||||
# Add non root user without password
|
||||
RUN useradd -ms /bin/bash frappe
|
||||
|
@ -49,6 +49,7 @@ target "stable-args" {
|
||||
args = {
|
||||
GIT_BRANCH = "${GIT_BRANCH}"
|
||||
IMAGE_TAG = "${GIT_BRANCH}"
|
||||
PYTHON_VERSION = "${VERSION}" == "12" ? "3.7" : "3.9"
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user