Skip to content

Commit

Permalink
Merge pull request #3117 from reubenmiller/chore-docker-linting
Browse files Browse the repository at this point in the history
chore: fix docker linting warnings
  • Loading branch information
reubenmiller committed Sep 9, 2024
2 parents 018593e + 8cd485c commit df65977
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions containers/tedge/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.18 as build
FROM alpine:3.18 AS build
# Use a build layer to avoid adding binaries from every target into a layer into the output image
ARG TARGETPLATFORM

Expand Down Expand Up @@ -55,12 +55,12 @@ RUN addgroup -S tedge \
# Add custom config
COPY system.toml /etc/tedge/

ENV TEDGE_MQTT_BIND_ADDRESS 0.0.0.0
ENV TEDGE_C8Y_PROXY_BIND_ADDRESS 0.0.0.0
ENV TEDGE_HTTP_BIND_ADDRESS 0.0.0.0
ENV TEDGE_MQTT_CLIENT_HOST mqtt-broker
ENV TEDGE_HTTP_CLIENT_HOST tedge
ENV TEDGE_C8Y_PROXY_CLIENT_HOST tedge-mapper-c8y
ENV TEDGE_MQTT_BIND_ADDRESS=0.0.0.0
ENV TEDGE_C8Y_PROXY_BIND_ADDRESS=0.0.0.0
ENV TEDGE_HTTP_BIND_ADDRESS=0.0.0.0
ENV TEDGE_MQTT_CLIENT_HOST=mqtt-broker
ENV TEDGE_HTTP_CLIENT_HOST=tedge
ENV TEDGE_C8Y_PROXY_CLIENT_HOST=tedge-mapper-c8y

USER "tedge"
CMD [ "/usr/bin/tedge-agent" ]

0 comments on commit df65977

Please sign in to comment.