You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On running fn -v build-server -t rijulsudhir/fn-api-ext
it is showing
Building image rijulsudhir/fn-api-ext
FN_REGISTRY: 127.0.0.1:5000
Current Context: distributed-fn
Sending build context to Docker daemon 3.072kB
Step 1/11 : FROM golang:1-alpine AS build-env
---> 3a38ce03c951
Step 2/11 : RUN apk --no-cache add build-base git bzr mercurial gcc
---> Running in 7815735ce714
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz
ERROR: unable to select packages:
bzr (no such package):
required by: world[bzr]
The command '/bin/sh -c apk --no-cache add build-base git bzr mercurial gcc' returned a non-zero code: 1
build can be completed by changing FROM golang:1-alpine AS build-env to FROM golang:1-alpine3.11 AS build-env in the generated dockerfile in the temp folder and building with docker build.
If anyone else face the same issue, you can install cli using below command curl -LSs https://raw.githubusercontent.com/rijulsudhir/fn-1-cli/master/install | sh
This is just a temporary solution until the official fix is available.
(you can check out the modifications made at https://github.com/rijulsudhir/fn-1-cli)
Activity
rijulsudhir commentedon Nov 20, 2021
If anyone else face the same issue, you can install cli using below command
curl -LSs https://raw.githubusercontent.com/rijulsudhir/fn-1-cli/master/install | shThis is just a temporary solution until the official fix is available.
(you can check out the modifications made at https://github.com/rijulsudhir/fn-1-cli)