Skip to content

Commit

Permalink
chore: update readme and dockerfile with new version
Browse files Browse the repository at this point in the history
  • Loading branch information
DecFox committed Aug 7, 2024
1 parent 4a316a0 commit 7a950f8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.oonith
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Note: The Dockerfile needs to reside in the root of the repo, so that we can
# copy files into the docker build context.
FROM golang:1.21.10-bullseye as builder
FROM golang:1.21.11-bullseye as builder
ARG BRANCH_NAME=master

WORKDIR /build
Expand All @@ -13,7 +13,7 @@ COPY . .
RUN go run ./internal/cmd/buildtool oohelperd build

## Image running on the host
FROM golang:1.21.10-bullseye as runner
FROM golang:1.21.11-bullseye as runner

WORKDIR /app

Expand Down
8 changes: 4 additions & 4 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ builds use the latest commit of the `master` branch.
To setup development for this repository you need Go >= 1.15. The
`./script/go.bash` script will automatically download the expected
version of Go mentioned in the [GOVERSION](GOVERSION) file (i.e.,
go1.21.10) and use it for building.
go1.21.11) and use it for building.

You can also bypass `./script/go.bash` and build ooniprobe manually using
`go build ...` but, in such a case, note that:
Expand Down Expand Up @@ -146,10 +146,10 @@ using the correct version of Go. Running this script as follows:
Is equivalent to running these commands:

```bash
go install -v golang.org/dl/go1.21.10@latest
$HOME/go/bin/go1.21.10 download
go install -v golang.org/dl/go1.21.11@latest
$HOME/go/bin/go1.21.11 download
export GOTOOLCHAIN=local
$HOME/sdk/go1.21.10/bin/go build -v -ldflags '-s -w' ./internal/cmd/miniooni
$HOME/sdk/go1.21.11/bin/go build -v -ldflags '-s -w' ./internal/cmd/miniooni
```

### Common build targets
Expand Down

0 comments on commit 7a950f8

Please sign in to comment.