Skip to content

Commit a7635d7

Browse files
committed
chore: update golang 1.19.0
1 parent 67a10b2 commit a7635d7

File tree

8 files changed

+21
-21
lines changed

8 files changed

+21
-21
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
**然后**,执行下面的命令或者项目中的程序(`bash pull-images.sh`),获取必要的镜像文件:
2121

2222
```bash
23-
docker pull soulteary/golang-playground:web-1.18.4
24-
docker pull soulteary/golang-playground:sandbox-1.18.4
25-
docker pull soulteary/golang-playground:actuator-1.18.4
23+
docker pull soulteary/golang-playground:web-1.19.0
24+
docker pull soulteary/golang-playground:sandbox-1.19.0
25+
docker pull soulteary/golang-playground:actuator-1.19.0
2626
docker pull memcached:1.6.15-alpine
2727
```
2828

@@ -37,22 +37,22 @@ docker pull memcached:1.6.15-alpine
3737
```bash
3838
# bash make-images.sh
3939
Sending build context to Docker daemon 1.349MB
40-
Step 1/30 : ARG GO_VERSION=1.18.4
40+
Step 1/30 : ARG GO_VERSION=1.19.0
4141
Step 2/30 : FROM golang:${GO_VERSION}-alpine3.16 AS build-playground
4242
---> 5e999c13ceac
4343
Step 3/30 : LABEL maintainer="[email protected]"
4444
---> Using cache
4545
---> a253b22ef53a
4646
...
4747
Successfully built 37e124ce9e7f
48-
Successfully tagged soulteary/golang-playground:web-1.18.4
48+
Successfully tagged soulteary/golang-playground:web-1.19.0
4949
...
5050
Successfully built 6017738b85ce
51-
Successfully tagged soulteary/golang-playground:sandbox-1.18.4
52-
Step 1/24 : ARG GO_VERSION=1.18.4
51+
Successfully tagged soulteary/golang-playground:sandbox-1.19.0
52+
Step 1/24 : ARG GO_VERSION=1.19.0
5353
Step 2/24 : FROM golang:${GO_VERSION}-alpine3.16 AS build-sandbox
5454
...
5555
Successfully built c51b8a6647fb
56-
Successfully tagged soulteary/golang-playground:actuator-1.18.4
56+
Successfully tagged soulteary/golang-playground:actuator-1.19.0
5757
```
5858

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ version: '3'
22
services:
33

44
sandbox:
5-
image: soulteary/golang-playground:sandbox-1.18.4
5+
image: soulteary/golang-playground:sandbox-1.19.0
66
restart: always
7-
command: -mode=server -listen=0.0.0.0:80 -workers=1 -untrusted-container=soulteary/golang-playground:actuator-1.18.4
7+
command: -mode=server -listen=0.0.0.0:80 -workers=1 -untrusted-container=soulteary/golang-playground:actuator-1.19.0
88
volumes:
99
- /var/run/docker.sock:/var/run/docker.sock:ro
1010
networks:
@@ -13,7 +13,7 @@ services:
1313
- memcached
1414

1515
web:
16-
image: soulteary/golang-playground:web-1.18.4
16+
image: soulteary/golang-playground:web-1.19.0
1717
restart: always
1818
environment:
1919
- SANDBOX_BACKEND_URL=http://sandbox:/run

docker/Dockerfile.actuator

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG GO_VERSION=1.18.4
1+
ARG GO_VERSION=1.19.0
22
FROM golang:${GO_VERSION}-alpine3.16 AS build-sandbox
33
# base deps
44
RUN apk update && apk add tzdata

docker/Dockerfile.sandbox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG GO_VERSION=1.18.4
1+
ARG GO_VERSION=1.19.0
22
FROM golang:${GO_VERSION}-alpine3.16 AS build-sandbox
33
# base deps
44
RUN apk update && apk add tzdata

docker/Dockerfile.web

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG GO_VERSION=1.18.4
1+
ARG GO_VERSION=1.19.0
22
FROM golang:${GO_VERSION}-alpine3.16 AS build-playground
33
LABEL maintainer="[email protected]"
44
# download golang deps

make-images.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
22

3-
docker build -t soulteary/golang-playground:web-1.18.4 -f docker/Dockerfile.web .
4-
docker build -t soulteary/golang-playground:sandbox-1.18.4 -f docker/Dockerfile.sandbox .
5-
docker build -t soulteary/golang-playground:actuator-1.18.4 -f docker/Dockerfile.actuator .
3+
docker build -t soulteary/golang-playground:web-1.19.0 -f docker/Dockerfile.web .
4+
docker build -t soulteary/golang-playground:sandbox-1.19.0 -f docker/Dockerfile.sandbox .
5+
docker build -t soulteary/golang-playground:actuator-1.19.0 -f docker/Dockerfile.actuator .

pull-images.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
docker pull soulteary/golang-playground:web-1.18.4
4-
docker pull soulteary/golang-playground:sandbox-1.18.4
5-
docker pull soulteary/golang-playground:actuator-1.18.4
3+
docker pull soulteary/golang-playground:web-1.19.0
4+
docker pull soulteary/golang-playground:sandbox-1.19.0
5+
docker pull soulteary/golang-playground:actuator-1.19.0
66
docker pull memcached:1.6.15-alpine

src/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module golang.org/x/playground
22

3-
go 1.18
3+
go 1.19
44

55
require (
66
github.com/bradfitz/gomemcache v0.0.0-20220106215444-fb4bf637b56d

0 commit comments

Comments
 (0)