mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-23 12:02:10 +03:00
fix docker dev (#1844)
This commit is contained in:
parent
8da0205bab
commit
4d86c66ccb
@ -4,7 +4,22 @@ FROM postgres:${PG_MAIN_VERSION} as postgres
|
|||||||
|
|
||||||
ARG PG_MAIN_VERSION
|
ARG PG_MAIN_VERSION
|
||||||
ARG PG_GRAPHQL_VERSION=1.3.0
|
ARG PG_GRAPHQL_VERSION=1.3.0
|
||||||
ARG TARGETARCH=arm64
|
ARG TARGETARCH
|
||||||
|
|
||||||
|
RUN set -eux; \
|
||||||
|
ARCH="$(dpkg --print-architecture)"; \
|
||||||
|
case "${ARCH}" in \
|
||||||
|
aarch64|arm64) \
|
||||||
|
TARGETARCH='arm64'; \
|
||||||
|
;; \
|
||||||
|
amd64|x86_64) \
|
||||||
|
TARGETARCH='amd64'; \
|
||||||
|
;; \
|
||||||
|
*) \
|
||||||
|
echo "Unsupported arch: ${ARCH}"; \
|
||||||
|
exit 1; \
|
||||||
|
;; \
|
||||||
|
esac;
|
||||||
|
|
||||||
RUN apt update && apt install -y curl
|
RUN apt update && apt install -y curl
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user