'Hello_world/Dockerfile' updaten
This commit is contained in:
parent
aef70312fe
commit
91337bc861
1 changed files with 11 additions and 1 deletions
|
@ -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"
|
Loading…
Reference in a new issue