ci: bump alpine version to get access to libmagic-static
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
dc2ab7c4af
commit
3a324c8846
1 changed files with 7 additions and 7 deletions
14
.drone.yml
14
.drone.yml
|
@ -13,17 +13,17 @@ steps:
|
|||
path: /_cache
|
||||
commands:
|
||||
- pwd
|
||||
# - |
|
||||
# apt-get update && \
|
||||
# apt-get install -y \
|
||||
# cmake g++ \
|
||||
# libevent-dev libpcre3-dev \
|
||||
# libyaml-dev liblzma-dev
|
||||
- apk add --update file-dev
|
||||
# Upgrade alpine to 3.19
|
||||
- sed -i -e 's,alpine/v3.17,alpine/v3.19,' /etc/apk/repositories
|
||||
- apk upgrade --available && sync
|
||||
# Build
|
||||
- apk add --update file-dev libmagic-static
|
||||
- shards install
|
||||
- shards build --production --static
|
||||
- strip bin/code-preloader
|
||||
# Verify
|
||||
- ./bin/code-preloader --version
|
||||
# Cache
|
||||
- mkdir -p /_cache/bin
|
||||
- cp -r bin/code-preloader /_cache/bin/$PACKAGE_BASENAME
|
||||
|
||||
|
|
Loading…
Reference in a new issue