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
|
path: /_cache
|
||||||
commands:
|
commands:
|
||||||
- pwd
|
- pwd
|
||||||
# - |
|
# Upgrade alpine to 3.19
|
||||||
# apt-get update && \
|
- sed -i -e 's,alpine/v3.17,alpine/v3.19,' /etc/apk/repositories
|
||||||
# apt-get install -y \
|
- apk upgrade --available && sync
|
||||||
# cmake g++ \
|
# Build
|
||||||
# libevent-dev libpcre3-dev \
|
- apk add --update file-dev libmagic-static
|
||||||
# libyaml-dev liblzma-dev
|
|
||||||
- apk add --update file-dev
|
|
||||||
- shards install
|
- shards install
|
||||||
- shards build --production --static
|
- shards build --production --static
|
||||||
- strip bin/code-preloader
|
- strip bin/code-preloader
|
||||||
|
# Verify
|
||||||
- ./bin/code-preloader --version
|
- ./bin/code-preloader --version
|
||||||
|
# Cache
|
||||||
- mkdir -p /_cache/bin
|
- mkdir -p /_cache/bin
|
||||||
- cp -r bin/code-preloader /_cache/bin/$PACKAGE_BASENAME
|
- cp -r bin/code-preloader /_cache/bin/$PACKAGE_BASENAME
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue