first commit
This commit is contained in:
		
							
								
								
									
										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" ]
 | 
			
		||||
		Reference in New Issue
	
	Block a user