feature/go1.20
frozen 9 months ago
parent c8af43fe11
commit 61016a800c
No known key found for this signature in database
GPG Key ID: 5391C63E79B03EDE
  1. 2
      .travis.yml
  2. 2
      Dockerfile
  3. 2
      api/service/legacysync/downloader/Proto.Dockerfile
  4. 2
      go.mod
  5. 2
      rosetta/infra/Dockerfile
  6. 2
      scripts/docker/Dockerfile

@ -2,7 +2,7 @@ os: linux
dist: jammy dist: jammy
language: go language: go
go: go:
- 1.19.5 - 1.20
go_import_path: github.com/harmony-one/harmony go_import_path: github.com/harmony-one/harmony
cache: cache:
directories: directories:

@ -1,7 +1,7 @@
FROM ubuntu:18.04 FROM ubuntu:18.04
ARG TARGETARCH ARG TARGETARCH
ARG GOLANG_VERSION="1.19" ARG GOLANG_VERSION="1.20"
SHELL ["/bin/bash", "-c"] SHELL ["/bin/bash", "-c"]

@ -1,4 +1,4 @@
FROM golang:1.19-bullseye FROM golang:1.20-bullseye
RUN apt update RUN apt update
RUN apt install -y protobuf-compiler RUN apt install -y protobuf-compiler

@ -1,6 +1,6 @@
module github.com/harmony-one/harmony module github.com/harmony-one/harmony
go 1.19 go 1.20
require ( require (
github.com/RoaringBitmap/roaring v1.2.3 github.com/RoaringBitmap/roaring v1.2.3

@ -1,5 +1,5 @@
# Build # Build
FROM golang:1.19 AS build FROM golang:1.20 AS build
RUN apt update -y && \ RUN apt update -y && \
apt install libgmp-dev libssl-dev git -y && \ apt install libgmp-dev libssl-dev git -y && \

@ -1,7 +1,7 @@
ARG GOPATH_DEFAULT=/root/go ARG GOPATH_DEFAULT=/root/go
ARG SRC_PATH=src/github.com/harmony-one ARG SRC_PATH=src/github.com/harmony-one
FROM golang:1.19-bullseye as builder FROM golang:1.20-bullseye as builder
ARG GOPATH_DEFAULT ARG GOPATH_DEFAULT
ARG SRC_PATH ARG SRC_PATH

Loading…
Cancel
Save