Skip to content

Commit

Permalink
switched to explicit image versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sberk42 committed Jan 15, 2023
1 parent 88631bf commit ca78078
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1

# Build Image
FROM golang:alpine AS builder
FROM golang:1.19-alpine AS builder
RUN go install github.com/sberk42/fritzbox_exporter@latest \
&& mkdir /app \
&& mv /go/bin/fritzbox_exporter /app
Expand All @@ -11,7 +11,7 @@ WORKDIR /app
COPY metrics.json metrics-lua.json /app/

# Runtime Image
FROM alpine as runtime-image
FROM alpine:latest as runtime-image

ARG REPO=sberk42/fritzbox_exporter

Expand Down

0 comments on commit ca78078

Please sign in to comment.