-
Notifications
You must be signed in to change notification settings - Fork 0
/
werf.yaml
43 lines (38 loc) · 1.02 KB
/
werf.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
configVersion: 1
project: "backend"
---
image: builder
dockerfile: Dockerfile-git-apline
---
image: service
from: alpine:3.14.6
docker:
ENTRYPOINT: ccp
shell:
setup:
- apk add --no-cache ca-certificates
- apk update
- apk add --no-cache wget build-base libjpeg-turbo-dev libpng-dev tiff-dev giflib-dev libx11-dev linux-headers
# - |
# export IMAGEMAGICK_VERSION=7.1.1-11
# cd && \
# wget https://github.com/ImageMagick/ImageMagick/archive/${IMAGEMAGICK_VERSION}.tar.gz && \
# tar xvzf ${IMAGEMAGICK_VERSION}.tar.gz && \
# cd ImageMagick* && \
# ./configure \
# --without-magick-plus-plus \
# --without-perl \
# --disable-openmp \
# --with-gvc=no \
# --disable-docs && \
# make -j$(nproc) && make install
- apk add ghostscript
import:
- image: builder
add: /usr/local/bin/ccp
to: /usr/local/bin/ccp
after: setup
- image: builder
add: /go/src/github.com/Digital-Certificates-DL/certificates-svc/static
to: /static
after: setup