🌱🏠☎️ A simple gateway in front of Grafana Loki, for collecting telemetry data for the greenhouse alpha test phase
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 lines
413 B

FROM golang:1.15.2-alpine as build
ARG GOARCH=
ARG GO_BUILD_ARGS=
RUN mkdir /build
WORKDIR /build
COPY . .
RUN go build -v $GO_BUILD_ARGS -o /build/greenhouse-telemetry main.go
FROM alpine
WORKDIR /greenhouse-telemetry
COPY --from=build /build/greenhouse-telemetry /greenhouse-telemetry/greenhouse-telemetry
RUN mkdir -p /greenhouse-telemetry/config
ENTRYPOINT ["/greenhouse-telemetry/greenhouse-telemetry"]