2022-07-27 14:56:23 +02:00
|
|
|
ARG BUILD_FROM
|
|
|
|
FROM $BUILD_FROM
|
|
|
|
|
2022-07-27 20:44:43 +02:00
|
|
|
# Install requirements for add-on
|
|
|
|
RUN \
|
|
|
|
apk add --no-cache \
|
|
|
|
example_alpine_package
|
|
|
|
|
2022-07-27 14:56:23 +02:00
|
|
|
# Copy data for add-on
|
|
|
|
COPY run.sh /
|
|
|
|
RUN chmod a+x /run.sh
|
|
|
|
|
2022-07-27 20:44:43 +02:00
|
|
|
CMD [ "/run.sh" ]
|
|
|
|
|
|
|
|
LABEL \
|
|
|
|
io.hass.version="VERSION" \
|
|
|
|
io.hass.type="addon" \
|
|
|
|
io.hass.arch="armhf|aarch64|i386|amd64"
|