ci: switch to alpine for static linking
This commit is contained in:
parent
87bcce48dd
commit
6d36a7f78a
1 changed files with 7 additions and 7 deletions
14
.drone.yml
14
.drone.yml
|
@ -5,7 +5,7 @@ name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build:binary
|
- name: build:binary
|
||||||
image: crystallang/crystal:1.10.1
|
image: crystallang/crystal:1.10.1-alpine
|
||||||
environment:
|
environment:
|
||||||
PACKAGE_BASENAME: mfm_linux_amd64
|
PACKAGE_BASENAME: mfm_linux_amd64
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -13,12 +13,12 @@ steps:
|
||||||
path: /_cache
|
path: /_cache
|
||||||
commands:
|
commands:
|
||||||
- pwd
|
- pwd
|
||||||
- |
|
# - |
|
||||||
apt-get update && \
|
# apt-get update && \
|
||||||
apt-get install -y \
|
# apt-get install -y \
|
||||||
cmake g++ \
|
# cmake g++ \
|
||||||
libevent-dev libpcre3-dev \
|
# libevent-dev libpcre3-dev \
|
||||||
libyaml-dev liblzma-dev
|
# libyaml-dev liblzma-dev
|
||||||
- shards install
|
- shards install
|
||||||
- shards build --production --static
|
- shards build --production --static
|
||||||
- strip bin/mfm
|
- strip bin/mfm
|
||||||
|
|
Loading…
Reference in a new issue