Skip to content

Commit

Permalink
Update watchdog version
Browse files Browse the repository at this point in the history
Update watchdog version and Go/base image to Alpine 3.12 for
Go.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
  • Loading branch information
alexellis committed Oct 8, 2020
1 parent 1885887 commit b4d496b
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion template/csharp/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openfaas/classic-watchdog:0.18.1 as watchdog
FROM openfaas/classic-watchdog:0.18.18 as watchdog

FROM microsoft/dotnet:2.1-sdk as builder

Expand Down
2 changes: 1 addition & 1 deletion template/dockerfile/function/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openfaas/classic-watchdog:0.18.1 as watchdog
FROM openfaas/classic-watchdog:0.18.18 as watchdog

FROM alpine:3.12

Expand Down
6 changes: 3 additions & 3 deletions template/go/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM openfaas/classic-watchdog:0.18.1 as watchdog
FROM golang:1.13-alpine3.11 as builder
FROM openfaas/classic-watchdog:0.18.18 as watchdog
FROM golang:1.13-alpine3.12 as builder

# Required to enable Go modules
RUN apk add --no-cache git
Expand Down Expand Up @@ -34,7 +34,7 @@ WORKDIR /go/src/handler
RUN CGO_ENABLED=${CGO_ENABLED} GOOS=linux \
go build --ldflags "-s -w" -a -installsuffix cgo -o handler .

FROM alpine:3.11
FROM alpine:3.12
RUN apk --no-cache add ca-certificates \
&& addgroup -S app && adduser -S -g app app \
&& mkdir -p /home/app \
Expand Down
2 changes: 1 addition & 1 deletion template/node/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openfaas/classic-watchdog:0.18.1 as watchdog
FROM openfaas/classic-watchdog:0.18.18 as watchdog

FROM node:12.13.0-alpine as ship

Expand Down
2 changes: 1 addition & 1 deletion template/php7/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openfaas/classic-watchdog:0.18.1 as watchdog
FROM openfaas/classic-watchdog:0.18.18 as watchdog

# start with the official Composer image and name it
FROM composer:1.7 AS composer
Expand Down
2 changes: 1 addition & 1 deletion template/python/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openfaas/classic-watchdog:0.18.1 as watchdog
FROM openfaas/classic-watchdog:0.18.18 as watchdog

FROM python:2.7-alpine

Expand Down
2 changes: 1 addition & 1 deletion template/python3-debian/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openfaas/classic-watchdog:0.18.1 as watchdog
FROM openfaas/classic-watchdog:0.18.18 as watchdog
FROM python:3

# Allows you to add additional packages via build-arg
Expand Down
2 changes: 1 addition & 1 deletion template/python3/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openfaas/classic-watchdog:0.18.1 as watchdog
FROM openfaas/classic-watchdog:0.18.18 as watchdog

FROM python:3-alpine

Expand Down
2 changes: 1 addition & 1 deletion template/ruby/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openfaas/classic-watchdog:0.18.1 as watchdog
FROM openfaas/classic-watchdog:0.18.18 as watchdog

FROM ruby:2.7-alpine3.11

Expand Down

0 comments on commit b4d496b

Please sign in to comment.