pottava/aws-s3-proxy

v2 don't build from dockerfile

pauelstv opened this issue · 0 comments

Hi!
I'm trying to build aws-s3-proxy from original Dockerfile. I've got eroor on build process:
`Step 1/15 : FROM golang:1.13.7-alpine3.11 AS builder
1.13.7-alpine3.11: Pulling from library/golang
c9b1b535fdd9: Pull complete
cbb0d8da1b30: Pull complete
d909eff28200: Pull complete
f9e7c84be0a1: Pull complete
8a0c202c45df: Pull complete
Digest: sha256:7e8c9c559ca6cf6535f501ca5eec46cae69489b5b8ef9cdec5abcaa5b09e707b
Status: Downloaded newer image for golang:1.13.7-alpine3.11
---> 87eefb76f0a8
Step 2/15 : RUN apk --no-cache add gcc musl-dev git
---> Running in 72db009345b5
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz
(1/17) Upgrading musl (1.1.24-r0 -> 1.1.24-r3)
(2/17) Installing libgcc (9.3.0-r0)
(3/17) Installing libstdc++ (9.3.0-r0)
(4/17) Installing binutils (2.33.1-r1)
(5/17) Installing gmp (6.1.2-r1)
(6/17) Installing isl (0.18-r0)
(7/17) Installing libgomp (9.3.0-r0)
(8/17) Installing libatomic (9.3.0-r0)
(9/17) Installing mpfr4 (4.0.2-r1)
(10/17) Installing mpc1 (1.1.0-r1)
(11/17) Installing gcc (9.3.0-r0)
(12/17) Installing nghttp2-libs (1.40.0-r1)
(13/17) Installing libcurl (7.79.1-r0)
(14/17) Installing expat (2.2.9-r1)
(15/17) Installing pcre2 (10.34-r1)
(16/17) Installing git (2.24.4-r0)
(17/17) Installing musl-dev (1.1.24-r3)
Executing busybox-1.31.1-r9.trigger
OK: 128 MiB in 31 packages
Removing intermediate container 72db009345b5
---> 10308d64b5e2
Step 3/15 : RUN go get -u github.com/pottava/aws-s3-proxy
---> Running in 4cc26d32a974

github.com/go-openapi/swag

src/github.com/go-openapi/swag/loading.go:44:28: undefined: os.ReadFile
src/github.com/go-openapi/swag/loading.go:50:28: undefined: os.ReadFile
src/github.com/go-openapi/swag/loading.go:119:10: undefined: io.ReadAll
The command '/bin/sh -c go get -u github.com/pottava/aws-s3-proxy' returned a non-zero code: 2
`
Is there opportunity to fix it?