-
-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ARM64 image ? #439
Comments
This is possible with some slight modifications. I could provide a pull request, but it does break some functionality noted below). I am running the current version with
diff --git a/Dockerfile b/Dockerfile
index 351ea18..044dc5d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -63,14 +63,14 @@ RUN curl -fsSL https://nginx.org/keys/nginx_signing.key | apt-key add - && \
rm -rf /var/lib/apt/lists/*
# hadolint ignore=DL3008
-RUN curl -fsSL https://www.mongodb.org/static/pgp/server-4.2.asc | apt-key add - && \
- echo "deb https://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 main" | tee /etc/apt/sources.list.d/mongodb-org-4.2.list && \
- apt-get update && \
- apt-get install -y --no-install-recommends \
- mongodb-org-shell && \
- apt-get -y clean && \
- apt-get -y autoremove && \
- rm -rf /var/lib/apt/lists/*
+#RUN curl -fsSL https://www.mongodb.org/static/pgp/server-4.2.asc | apt-key add - && \
+# echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 main" | tee /etc/apt/sources.list.d/mongodb-org-4.2.list && \
+# apt-get update && \
+# apt-get install -y --no-install-recommends \
+# mongodb-org-shell && \
+# apt-get -y clean && \
+# apt-get -y autoremove && \
+# rm -rf /var/lib/apt/lists/*
COPY requirements*.txt /app/
# hadolint ignore=DL3013
diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh
index 1f3cd8a..bdd3d24 100755
--- a/docker-entrypoint.sh
+++ b/docker-entrypoint.sh
@@ -89,7 +89,7 @@ echo Alerta WebUI ${WEBUI_VERSION}
nginx -v
echo uwsgi $(uwsgi --version)
-mongo --version | grep MongoDB
+#mongo --version | grep MongoDB
psql --version
python3 --version
/venv/bin/pip list
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, how can I build ARM64 image for docker ?
The text was updated successfully, but these errors were encountered: