Skip to content

Commit cefaa2c

Browse files
committed
chore(passport): change env to build arg
1 parent 15bdb83 commit cefaa2c

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

rootfs/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN install-stack node $NODE_VERSION && . init-stack \
1313

1414
FROM registry.drycc.cc/drycc/base:${CODENAME}
1515

16-
ENV DRYCC_UID=1001 \
16+
ARG DRYCC_UID=1001 \
1717
DRYCC_GID=1001 \
1818
DRYCC_HOME_DIR=/workspace \
1919
PYTHON_VERSION="3.13"

rootfs/Dockerfile.test

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
ARG CODENAME
22
FROM registry.drycc.cc/drycc/base:${CODENAME}
33

4-
ENV DRYCC_HOME_DIR=/workspace \
5-
PGDATA="/var/lib/postgresql/data" \
4+
ARG DRYCC_HOME_DIR=/workspace \
65
PYTHON_VERSION="3.13" \
76
POSTGRES_VERSION="17.6" \
87
GOSU_VERSION="1.18"
98

9+
ENV PGDATA="/var/lib/postgresql/data"
10+
1011
COPY requirements.txt ${DRYCC_HOME_DIR}/requirements.txt
1112
COPY dev_requirements.txt ${DRYCC_HOME_DIR}/dev_requirements.txt
1213

0 commit comments

Comments
 (0)