File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change 11FROM BASE_IMAGE
22ARG VERSION=VERSION
33ARG TARGETARCH
4- ARG STATELESS=false
54
65LABEL name="pg-deeplake" \
76 version="${VERSION}" \
@@ -29,18 +28,4 @@ COPY ./debs/ /tmp/debs/
2928COPY --chmod=444 ./LICENSE /LICENSE
3029COPY ./postgres/docker-entrypoint.d/ /docker-entrypoint-initdb.d/
3130RUN apt-get install --no-install-recommends -y /tmp/debs/pg-deeplake-${VERSION}_${TARGETARCH}.deb && rm -rf /tmp/debs/
32- COPY ./serverless/scripts/init-deeplake-stateless.sh /tmp/init-deeplake-stateless.sh
33- COPY ./serverless/config/postgresql-overrides.conf /tmp/postgresql-overrides.conf
34- COPY ./serverless/scripts/health-check.sh /tmp/health-check.sh
35- RUN if [ "$STATELESS" = "true" ]; then \
36- mv /tmp/init-deeplake-stateless.sh /docker-entrypoint-initdb.d/3-stateless-init.sh && \
37- chmod 755 /docker-entrypoint-initdb.d/3-stateless-init.sh && \
38- mv /tmp/postgresql-overrides.conf /etc/postgresql-overrides.conf && \
39- chmod 644 /etc/postgresql-overrides.conf && \
40- mv /tmp/health-check.sh /usr/local/bin/health-check.sh && \
41- chmod 755 /usr/local/bin/health-check.sh && \
42- mkdir -p /deeplake-data; \
43- else \
44- rm -f /tmp/init-deeplake-stateless.sh /tmp/postgresql-overrides.conf /tmp/health-check.sh; \
45- fi
4631USER 999
You can’t perform that action at this time.
0 commit comments