Compare commits
2 Commits
b5e324d9d9
...
8defedbae8
Author | SHA1 | Date | |
---|---|---|---|
8defedbae8 | |||
81d209778a |
11
Dockerfile
11
Dockerfile
@ -1,8 +1,13 @@
|
||||
FROM alpine:latest
|
||||
#
|
||||
|
||||
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 \
|
||||
@ -11,4 +16,4 @@ RUN set -xe \
|
||||
WORKDIR /workspace
|
||||
COPY root/defaults/temp2mqtt /workspace
|
||||
|
||||
CMD [ "sh", "./temp2mqtt" ]
|
||||
CMD [ "sh", "./temp2mqtt" ]
|
16
drone.yml
Normal file
16
drone.yml
Normal file
@ -0,0 +1,16 @@
|
||||
kind: pipeline
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
repo: sthopeless/temp2mqtt
|
||||
tags: latest
|
||||
purge: false
|
||||
dockerfile: Dockerfile
|
||||
|
Loading…
x
Reference in New Issue
Block a user