From 6bff05608676869f8c766e8b19dc5fb7d60aeb9a Mon Sep 17 00:00:00 2001 From: Joxit Date: Wed, 18 Jul 2018 22:59:07 +0200 Subject: [PATCH] Add arm64v8 support --- arm64v8-static.dockerfile | 27 +++++++++++++++++++++++++++ arm64v8.dockerfile | 21 +++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 arm64v8-static.dockerfile create mode 100644 arm64v8.dockerfile diff --git a/arm64v8-static.dockerfile b/arm64v8-static.dockerfile new file mode 100644 index 0000000..ded0efc --- /dev/null +++ b/arm64v8-static.dockerfile @@ -0,0 +1,27 @@ +# Copyright (C) 2016-2018 Jones Magloire @Joxit +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +FROM arm64v8/nginx + +LABEL maintainer="Jones MAGLOIRE @Joxit" + +WORKDIR /usr/share/nginx/html/ + +COPY nginx/default.conf /etc/nginx/conf.d/default.conf +COPY dist/ /usr/share/nginx/html/ +COPY dist/scripts/script-static.js /usr/share/nginx/html/scripts/script.js +COPY dist/scripts/tags-static.js /usr/share/nginx/html/scripts/tags.js +COPY bin/entrypoint /bin + +ENTRYPOINT entrypoint diff --git a/arm64v8.dockerfile b/arm64v8.dockerfile new file mode 100644 index 0000000..48e4451 --- /dev/null +++ b/arm64v8.dockerfile @@ -0,0 +1,21 @@ +# Copyright (C) 2016-2018 Jones Magloire @Joxit +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +FROM arm64v8/nginx + +LABEL maintainer="Jones MAGLOIRE @Joxit" + +WORKDIR /usr/share/nginx/html/ + +COPY dist/ /usr/share/nginx/html/