alibaba / alibaba/funcraft

fun binary doesn't work in alpine

Open
#999 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
931
Forks
128
PR merge metrics
No merged PRs in 30d

Description

I've tried using fun in my .gitlab-ci.yml CICD pipeline, for which I've used alpine image. But apparently this doesn't work for me. It did work on debian:bullseye-slim image but I'd still prefer to use it in alpine.

This is what I had in .gitlab-ci.yml for test. This returns fun: Not found when I tried to check the version.
```
deploy:
stage: deploy
image: alpine:latest
scripts:
- apk update
- apk add curl unzip
- curl -o fun-linux.zip https://gosspublic.alicdn.com/fun/fun-v3.6.14-linux.zip
- unzip fun-linux.zip
- mv fun-*-linux /usr/bin/fun
- fun --version
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the .gitlab-ci.yml example and reproduce the Alpine job through the download, extraction, move, and fun --version steps. Done means the reported Alpine pipeline can execute fun --version successfully, while preserving the stated Alpine image and installation flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
gitlab, shell
Domain
ci-cd
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.