'Hello_world/Dockerfile' updaten

This commit is contained in:
Mathijs Lermer 2022-07-27 20:44:43 +02:00
parent aef70312fe
commit 91337bc861

View file

@ -1,8 +1,18 @@
ARG BUILD_FROM ARG BUILD_FROM
FROM $BUILD_FROM FROM $BUILD_FROM
# Install requirements for add-on
RUN \
apk add --no-cache \
example_alpine_package
# Copy data for add-on # Copy data for add-on
COPY run.sh / COPY run.sh /
RUN chmod a+x /run.sh RUN chmod a+x /run.sh
CMD [ "/run.sh" ] CMD [ "/run.sh" ]
LABEL \
io.hass.version="VERSION" \
io.hass.type="addon" \
io.hass.arch="armhf|aarch64|i386|amd64"