Skip to content

Commit

Permalink
Upgrade go version to 1.16.0 on Dockerfile (#66)
Browse files Browse the repository at this point in the history
Update Go version in Dockerfile to support io package in channel/script.go. This is necessary because, from Go 1.16, the io package replaces ioutil, and using 1.15.2 on Dockerfile results in an undefined: io.ReadFile error while building containers.
  • Loading branch information
ShanQincheng committed Jan 30, 2024
1 parent f534b81 commit 617a946
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ _testmain.go
*.exe
*.test
*.prof

.idea/

.DS_Store
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.15.2
FROM golang:1.16.0

WORKDIR /app
COPY . /app
Expand Down

0 comments on commit 617a946

Please sign in to comment.