Compare commits
2 Commits
ecd9ac180b
...
3b897ebc32
| Author | SHA1 | Date |
|---|---|---|
|
|
3b897ebc32 | |
|
|
50a39a5eac |
11
Dockerfile
11
Dockerfile
|
|
@ -171,6 +171,11 @@ RUN apt update -y && apt install -y \
|
|||
&& apt clean
|
||||
|
||||
|
||||
# 安装 dbmate(官方推荐方式)
|
||||
RUN curl -fsSL https://github.com/amacneil/dbmate/releases/latest/download/dbmate-linux-amd64 \
|
||||
-o /usr/local/bin/dbmate && \
|
||||
chmod +x /usr/local/bin/dbmate
|
||||
|
||||
RUN adduser --system --home /var/lib/postgresql --no-create-home --shell /bin/bash --group --gecos "PostgreSQL administrator" postgres
|
||||
RUN adduser --system --no-create-home --shell /bin/bash --group wal-g
|
||||
RUN curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install linux \
|
||||
|
|
@ -392,7 +397,7 @@ RUN set -ex; \
|
|||
kong version ; \
|
||||
fi
|
||||
|
||||
COPY docker-kong_v2.8.1/ubuntu/docker-entrypoint.sh /supabase/kong/docker-entrypoint.sh
|
||||
COPY --chmod=0755 docker-kong_v2.8.1/ubuntu/docker-entrypoint.sh /supabase/kong/docker-entrypoint.sh
|
||||
|
||||
#USER kong
|
||||
|
||||
|
|
@ -485,6 +490,6 @@ RUN curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/
|
|||
|
||||
ENV PATH="${PATH}:/nix/var/nix/profiles/default/bin"
|
||||
|
||||
ENTRYPOINT ["/usr/bin/supervisord"]
|
||||
#ENTRYPOINT ["/usr/bin/supervisord"]
|
||||
|
||||
CMD ["-c", "/etc/supervisord.conf"]
|
||||
#CMD ["-c", "/etc/supervisord.conf"]
|
||||
Loading…
Reference in New Issue