From 0e35ec4352906865c0abe03eaa471bee97533c19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ramiro=20Gonz=C3=A1lez=20Maciel?= Date: Sat, 11 Jun 2022 10:52:26 -0300 Subject: [PATCH] Add Dockerfile for Apple Silicon M1 Change-type: patch Signed-off-by: Ramiro Gonzalez --- Dockerfile.armv8 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Dockerfile.armv8 diff --git a/Dockerfile.armv8 b/Dockerfile.armv8 new file mode 100644 index 0000000..7dc033e --- /dev/null +++ b/Dockerfile.armv8 @@ -0,0 +1,10 @@ +FROM arm64v8/postgres:13 + +ENV POSTGRES_USER docker +ENV POSTGRES_PASSWORD docker + +COPY create-resin-db.sh /docker-entrypoint-initdb.d/ +COPY balena-entrypoint.sh /balena-entrypoint.sh + +CMD [ "postgres" ] +ENTRYPOINT [ "/balena-entrypoint.sh" ]