Skip to content

Commit

Permalink
chore: update golang to 1.20.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Its-Alex committed May 29, 2023
1 parent 3e5c187 commit 44eaeb8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17.0-alpine3.14 as builder
FROM golang:1.20.4-alpine3.17 as builder

WORKDIR /src

Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ Then you setup [sentry issue alerts](https://docs.sentry.io/product/alerts/) as
### Requirement

- `docker`
- `go`
- `bash`

## Hack
Expand All @@ -36,13 +35,15 @@ $ ./scripts/up.sh

This will launch images in [`docker-compose.yml`](./docker-compose.yml).

An image named `workspace` with golang is used as a isolated container to develop. You can use [`enter-workspace.sh`](./scripts/enter-workspace.sh) to enter inside it:
An image named `workspace` with golang is used as a isolated container to
develop. You can use [`enter-workspace.sh`](./scripts/enter-workspace.sh)
to enter inside it:

```sh
$ ./scripts/enter-workspace.sh
```

You can build with:
From outside the container you can build with:

```sh
$ ./scripts/build.sh
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.9'
services:
workspace:
image: golang:1.17.0-alpine3.14
image: golang:1.20.4-alpine3.17
restart: unless-stopped
working_dir: /code/
volumes:
Expand Down

0 comments on commit 44eaeb8

Please sign in to comment.