This commit is contained in:
Alexandre
2021-12-03 22:23:35 +01:00
parent d35cebe0e7
commit 534a76c58f
2 changed files with 7 additions and 16 deletions

View File

@@ -1,14 +1,13 @@
ARG BUILD_FROM=ghcr.io/hassio-addons/base/amd64:9.2.0
# hadolint ignore=DL3006
FROM ${BUILD_FROM}
ARG BUILD_UPSTREAM=2.9.2
# Set shell
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# Setup base
ARG BUILD_ARCH=amd64
ARG BUILD_ARCH=amd64
ARG BUILD_UPSTREAM="2.9.3"
RUN \
if [ "${BUILD_ARCH}" = "aarch64" ]; then ARCH="arm64"; fi \
&& if [ "${BUILD_ARCH}" = "armhf" ]; then ARCH="arm"; fi \
@@ -16,8 +15,8 @@ RUN \
&& if [ "${BUILD_ARCH}" = "amd64" ]; then ARCH="amd64"; fi \
\
&& curl -L -s \
"https://github.com/portainer/portainer/releases/download/${BUILD_UPSTREAM}/portainer-${BUILD_UPSTREAM}-linux-${ARCH}.tar.gz" \
| tar zxvf - -C /opt/
"https://github.com/portainer/portainer/releases/download/${BUILD_UPSTREAM}/portainer-${BUILD_UPSTREAM}-linux-${ARCH}.tar.gz" \
| tar zxvf - -C /opt/
RUN \
apk add --no-cache \

View File

@@ -1,10 +1,5 @@
{
"arch": [
"aarch64",
"amd64",
"armhf",
"armv7"
],
"arch": ["aarch64", "amd64", "armhf", "armv7"],
"description": "Manage your Docker environment with ease",
"docker_api": true,
"hassio_api": true,
@@ -12,10 +7,7 @@
"ingress_port": 1337,
"ingress_stream": true,
"init": false,
"map": [
"share:rw",
"ssl"
],
"map": ["share:rw", "ssl"],
"name": "Portainer",
"options": {
"ssl": false,
@@ -42,6 +34,6 @@
"startup": "services",
"upstream": "2.9.3",
"url": "https://github.com/alexbelgium/hassio-addons",
"version": "2.9.2-2",
"version": "2.9.3",
"webui": "[PROTO:ssl]://[HOST]:[PORT:9099]"
}