This commit is contained in:
parent
ecd9ac180b
commit
50a39a5eac
|
|
@ -171,6 +171,11 @@ RUN apt update -y && apt install -y \
|
||||||
&& apt clean
|
&& 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 --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 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 \
|
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 ; \
|
kong version ; \
|
||||||
fi
|
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
|
#USER kong
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue