feature/go1.21
frozen 1 year ago
parent ffb04bd4da
commit dd08bd4fab
No known key found for this signature in database
GPG Key ID: 5391C63E79B03EDE
  1. 2
      Dockerfile
  2. 2
      README.md
  3. 2
      api/service/legacysync/downloader/Proto.Dockerfile
  4. 2
      rosetta/infra/Dockerfile
  5. 2
      scripts/docker/Dockerfile

@ -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.21"
SHELL ["/bin/bash", "-c"] SHELL ["/bin/bash", "-c"]

@ -16,7 +16,7 @@ http://api.hmny.io/
## Requirements ## Requirements
### **Go 1.19** ### **Go 1.21**
### **GMP and OpenSSL** ### **GMP and OpenSSL**
On macOS: On macOS:

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

@ -1,5 +1,5 @@
# Build # Build
FROM golang:1.19 AS build FROM golang:1.21 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.21 as builder
ARG GOPATH_DEFAULT ARG GOPATH_DEFAULT
ARG SRC_PATH ARG SRC_PATH

Loading…
Cancel
Save