Skip to content

Commit

Permalink
[chore] update base docker image to go 1.18 (#13010)
Browse files Browse the repository at this point in the history
This change ensures that the version of go used in the containers can use go workspaces.
  • Loading branch information
Alex Boten authored Aug 8, 2022
1 parent e10a8e3 commit a27b57d
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion cmd/telemetrygen/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17 AS build
FROM golang:1.18 AS build

WORKDIR /src
ADD . /src
Expand Down
2 changes: 1 addition & 1 deletion cmd/tracegen/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17 AS build
FROM golang:1.18 AS build

WORKDIR /src
ADD . /src
Expand Down
2 changes: 1 addition & 1 deletion examples/demo/client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM golang:1.17
FROM golang:1.18
COPY . /usr/src/client/
WORKDIR /usr/src/client/
RUN go env -w GOPROXY=direct
Expand Down
2 changes: 1 addition & 1 deletion examples/demo/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM golang:1.17
FROM golang:1.18
COPY . /usr/src/server/
WORKDIR /usr/src/server/
RUN go env -w GOPROXY=direct
Expand Down
2 changes: 1 addition & 1 deletion examples/tracing/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17 AS build
FROM golang:1.18 AS build

WORKDIR /src
ADD . /src
Expand Down
2 changes: 1 addition & 1 deletion exporter/loadbalancingexporter/example/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17 AS build
FROM golang:1.18 AS build

WORKDIR /src
ADD . /src
Expand Down
2 changes: 1 addition & 1 deletion exporter/lokiexporter/example/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17 AS build
FROM golang:1.18 AS build

WORKDIR /src
ADD . /src
Expand Down
2 changes: 1 addition & 1 deletion exporter/splunkhecexporter/example/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17 AS build
FROM golang:1.18 AS build

WORKDIR /src
ADD . /src
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17-stretch
FROM golang:1.18-stretch

WORKDIR /go/src/app

Expand Down

0 comments on commit a27b57d

Please sign in to comment.