This commit is contained in:
28
Dockerfile_x86_64
Normal file
28
Dockerfile_x86_64
Normal file
@ -0,0 +1,28 @@
|
||||
FROM alpine:latest
|
||||
|
||||
ARG S6_OVERLAY_VERSION=3.1.0.1
|
||||
|
||||
|
||||
LABEL org.opencontainers.image.source="https://git.sthope.dev/sthope/DockerContainer-randomPwd"
|
||||
LABEL Maintainer="Sthope"
|
||||
LABEL Description="Send CPU Temp via MQTT"
|
||||
LABEL version="1.0.0"
|
||||
|
||||
ARG PUID=1000
|
||||
ARG PGID=1000
|
||||
|
||||
RUN set -xe \
|
||||
&& addgroup -g ${PGID} -S mosquitto \
|
||||
&& adduser -u ${PUID} -G mosquitto -h /mosquitto/ -D mosquitto \
|
||||
&& apk add --no-cache --purge -uU mosquitto mosquitto-libs mosquitto-clients
|
||||
|
||||
WORKDIR /config
|
||||
# COPY root/defaults/temp2mqtt /config
|
||||
|
||||
# CMD [ "sh", "./temp2mqtt" ]
|
||||
|
||||
ADD https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz /tmp
|
||||
RUN tar -C / -Jxpf /tmp/s6-overlay-noarch.tar.xz
|
||||
ADD https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-x86_64.tar.xz /tmp
|
||||
RUN tar -C / -Jxpf /tmp/s6-overlay-x86_64.tar.xz
|
||||
ENTRYPOINT ["/init"]
|
Reference in New Issue
Block a user