The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
fix docker dev (#1844)
Tom Avalexing4d86c66ccb22
diff --git a/infra/dev/postgres/Dockerfile b/infra/dev/postgres/Dockerfileindex f36394df553..31a688ad3ba 100644--- a/infra/dev/postgres/Dockerfile+++ b/infra/dev/postgres/Dockerfile@@ -4,7 +4,22 @@ FROM postgres:${PG_MAIN_VERSION} as postgresARG PG_MAIN_VERSIONARG 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