updated docker versions

This commit is contained in:
0xdcarns 2022-03-28 09:49:21 -04:00
parent c6beec6bfd
commit 1b10c08f55
9 changed files with 11 additions and 11 deletions

View file

@ -1,5 +1,5 @@
#first stage - builder
FROM golang:1.17-alpine as builder
FROM golang:1.18.0-alpine3.15 as builder
ARG version
RUN apk add build-base
WORKDIR /app
@ -7,7 +7,7 @@ COPY . .
ENV GO111MODULE=auto
RUN GOOS=linux CGO_ENABLED=1 go build -ldflags="-s -X 'main.version=${version}'" -o netmaker main.go
FROM alpine:3.14.3
FROM alpine:3.15.2
# add a c lib
RUN apk add gcompat iptables wireguard-tools

View file

@ -1,8 +1,8 @@
FROM alpine:3.13.6
FROM alpine:3.15.2
RUN apk add --no-cache --virtual .build-deps bash gcc musl-dev openssl go
RUN wget -O go.tgz https://dl.google.com/go/go1.17.1.linux-amd64.tar.gz
RUN wget -O go.tgz https://go.dev/dl/go1.18.linux-amd64.tar.gz
RUN tar -C /usr/local -xzf go.tgz

View file

@ -8,7 +8,7 @@ ENV GO111MODULE=auto
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 /usr/local/go/bin/go build -ldflags="-w -s" -o netclient-app netclient/main.go
FROM alpine:3.13.6
FROM alpine:3.15.2
RUN apk add gcompat iptables && mkdir -p /etc/netclient
# set the working directory

View file

@ -3,7 +3,7 @@ FROM debian:buster as builder
RUN apt update -y && apt install -y wget bash gcc musl-dev openssl golang git build-essential libmnl-dev iptables
RUN wget -O go.tgz https://dl.google.com/go/go1.17.1.linux-amd64.tar.gz
RUN wget -O go.tgz https://go.dev/dl/go1.18.linux-amd64.tar.gz
RUN tar -C /usr/local -xzf go.tgz

View file

@ -3,7 +3,7 @@ FROM debian:buster as builder
RUN apt update -y && apt install -y wget bash gcc musl-dev openssl golang git build-essential libmnl-dev iptables
RUN wget -O go.tgz https://dl.google.com/go/go1.17.1.linux-amd64.tar.gz
RUN wget -O go.tgz https://go.dev/dl/go1.18.linux-amd64.tar.gz
RUN tar -C /usr/local -xzf go.tgz

View file

@ -24,7 +24,7 @@ RUN git clone https://git.zx2c4.com/wireguard-tools && \
make && \
make install
FROM alpine:3.13.6
FROM alpine:3.15.2
WORKDIR /root/

View file

@ -3,7 +3,7 @@ FROM debian:buster as builder
RUN apt update -y && apt install -y wget bash gcc musl-dev openssl golang git build-essential libmnl-dev iptables
RUN wget -O go.tgz https://dl.google.com/go/go1.17.1.linux-amd64.tar.gz
RUN wget -O go.tgz https://go.dev/dl/go1.18.linux-amd64.tar.gz
RUN tar -C /usr/local -xzf go.tgz

View file

@ -9,7 +9,7 @@ ENV GO111MODULE=auto
RUN GOOS=linux CGO_ENABLED=0 /usr/local/go/bin/go build -ldflags="-w -s -X 'main.version=${TAG}'" -o netclient-app netclient/main.go
FROM alpine:3.13.6
FROM alpine:3.15.2
WORKDIR /root/

View file

@ -9,7 +9,7 @@ ENV GO111MODULE=auto
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=1 /usr/local/go/bin/go build -ldflags="-w -s" -o netmaker main.go
FROM alpine:3.13.6
FROM alpine:3.15.2
# add a c lib
RUN apk add gcompat iptables wireguard-tools
# set the working directory