Install delve from custom repo
delve cannot currently be installed for the gemnasium
image, because gemnasium
is using alpine:3.16, and delve
doesn't exist for this release of alpine, which causes an error when building the image:
Step 6/11 : RUN apk add --update --no-cache go delve
---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
---> Running in 8122ec5d0770
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
ERROR: unable to select packages:
delve (no such package):
required by: world[delve]
The command '/bin/sh -c apk add --update --no-cache go delve' returned a non-zero code: 1
This can be fixed by installing delve from the alpine 3.17
repo, which is what this MR does.