Skip to content

Commit

Permalink
Update hot reload container to go version 1.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramon Saccilotto committed Mar 18, 2022
1 parent e01b796 commit f82b3ef
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# --- BUILD IMAGE ---

# USE GOLANG CONTAINER TO BUILD THE APPLICATION
FROM golang:1.17.7 as build
FROM golang:1.18.0 as build

WORKDIR /src

Expand All @@ -20,7 +20,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -installsuffix cgo -o ./ho
# --- RUNTIME IMAGE ---

# START FROM GO ALPINE
FROM golang:1.17.7-alpine3.15
FROM golang:1.18.0-alpine3.15

LABEL copyright="Departement Klinische Forschung, Basel, Switzerland. 2022"

Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# !/bin/sh

# build the hot reload utility and a respective docker container
docker build -t dkfbasel/hot-reload-go:1.17.7 -f ./Dockerfile ./cmd/hot-reload
docker build -t dkfbasel/hot-reload-go:1.18.0 -f ./Dockerfile ./cmd/hot-reload
4 changes: 2 additions & 2 deletions test/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ version: "3.7"

services:
app:
container_name: hot-reload-go.1.17.7
image: dkfbasel/hot-reload-go:1.17.7
container_name: hot-reload-go.1.18.0
image: dkfbasel/hot-reload-go:1.18.0
volumes:
- ./src:/app
environment:
Expand Down

0 comments on commit f82b3ef

Please sign in to comment.