This commit is contained in:
hailin 2025-05-15 19:34:44 +08:00
parent ecd9ac180b
commit 50a39a5eac
1 changed files with 6 additions and 1 deletions

View File

@ -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