File tree Expand file tree Collapse file tree 6 files changed +10
-23
lines changed
packages/postgres-database/docker
static-webserver/client/tools/qooxdoo-kit/builder Expand file tree Collapse file tree 6 files changed +10
-23
lines changed Original file line number Diff line number Diff line change @@ -55,11 +55,5 @@ COPY entrypoint.bash /home/entrypoint.bash
5555
5656RUN chmod +x /home/entrypoint.bash
5757
58- ENV POSTGRES_USER=scu \
59- POSTGRES_PASSWORD=adminadmin \
60- POSTGRES_HOST=postgres \
61- POSTGRES_PORT=5432 \
62- POSTGRES_DB=simcoredb
63-
6458ENTRYPOINT [ "/bin/bash" , "/home/entrypoint.bash" ]
6559CMD [ "sc-pg" , "upgrade" ]
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ ARG PYTHON_VERSION="3.11.9"
55ARG UV_VERSION="0.7"
66FROM ghcr.io/astral-sh/uv:${UV_VERSION} AS uv_build
77# we docker image is built based on debian
8- FROM --platform=${TARGETPLATFORM} python:${PYTHON_VERSION}-slim-bookworm AS base
8+ FROM python:${PYTHON_VERSION}-slim-bookworm AS base
99ARG TARGETPLATFORM
1010ARG BUILDPLATFORM
1111RUN echo "I am running on $BUILDPLATFORM, building for $TARGETPLATFORM" > /log
Original file line number Diff line number Diff line change @@ -84,14 +84,7 @@ FROM base AS production
8484
8585ENV PYTHONOPTIMIZE=TRUE
8686
87- # testing defaults
88- ENV POSTGRES_USER=scu \
89- POSTGRES_PASSWORD=adminadmin \
90- POSTGRES_HOST=postgres \
91- POSTGRES_PORT=5432 \
92- POSTGRES_DB=simcoredb \
93- SC_DONE_MARK_FILE=migration.done
94-
87+ ENV SC_DONE_MARK_FILE=migration.done
9588
9689WORKDIR /home/scu
9790
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ FROM server-base AS production
8484COPY --from=build-client \
8585 --chown=${SC_USER_NAME}:${SC_USER_NAME} \
8686 /project/build-output "/static-content"
87- ENV SC_BUILD_TARGET production
87+ ENV SC_BUILD_TARGET= production
8888
8989FROM server-base AS development
90- ENV SC_BUILD_TARGET development
90+ ENV SC_BUILD_TARGET= development
Original file line number Diff line number Diff line change @@ -65,8 +65,8 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
6565ENV PATH="${VIRTUAL_ENV}/bin:$PATH"
6666
6767
68- ENV SC_BUILD_TARGET base
69- ENV SC_BOOT_MODE default
68+ ENV SC_BUILD_TARGET= base
69+ ENV SC_BOOT_MODE= default
7070
7171EXPOSE 8080
7272# -------------------------- -------------------------------
@@ -81,7 +81,7 @@ EXPOSE 8080
8181
8282FROM base AS build
8383
84- ENV SC_BUILD_TARGET build
84+ ENV SC_BUILD_TARGET= build
8585
8686RUN --mount=type=cache,target=/var/cache/apt,sharing=private \
8787 set -eux \
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ ENV PATH="${VIRTUAL_ENV}/bin:$PATH"
7676
7777
7878# TODO: eliminate this variable!
79- ENV IS_CONTAINER_CONTEXT Yes
79+ ENV IS_CONTAINER_CONTEXT= Yes
8080
8181
8282EXPOSE 8080
@@ -93,7 +93,7 @@ EXPOSE 8080
9393
9494FROM base AS build
9595
96- ENV SC_BUILD_TARGET build
96+ ENV SC_BUILD_TARGET= build
9797
9898RUN --mount=type=cache,target=/var/cache/apt,sharing=private \
9999 set -eux \
@@ -206,7 +206,7 @@ CMD ["services/web/server/docker/boot.sh"]
206206#
207207FROM build AS development
208208
209- ENV SC_BUILD_TARGET development
209+ ENV SC_BUILD_TARGET= development
210210
211211WORKDIR /devel
212212
You can’t perform that action at this time.
0 commit comments