diff --git a/alpine/Dockerfile b/alpine/Dockerfile index 16f4b3c1..3c13f14f 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -86,6 +86,10 @@ RUN version="$(echo $OPENHAB_VERSION | sed 's/snapshot/SNAPSHOT/g')" && \ COPY update ${OPENHAB_HOME}/runtime/bin/update RUN chmod +x ${OPENHAB_HOME}/runtime/bin/update +# Workaround for broken /var/lock symlink, see: https://github.com/alpinelinux/docker-alpine/issues/433 +# hadolint ignore=DL3059 +RUN mkdir /run/lock + # Expose volume with configuration and userdata dir VOLUME ${OPENHAB_CONF} ${OPENHAB_USERDATA} ${OPENHAB_HOME}/addons