different approach to fetch upstream
This commit is contained in:
parent
8acc95e445
commit
3569a44161
@ -1,25 +1,4 @@
|
|||||||
stages:
|
|
||||||
- prepare
|
|
||||||
- check
|
|
||||||
- build
|
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- project: dockerized/commons
|
- project: dockerized/commons
|
||||||
ref: master
|
ref: master
|
||||||
file: gitlab-ci-template.yml
|
file: gitlab-ci-template.yml
|
||||||
|
|
||||||
prepare:
|
|
||||||
image: registry.hottis.de/dockerized/base-build-env:latest
|
|
||||||
stage: prepare
|
|
||||||
tags:
|
|
||||||
- hottis
|
|
||||||
- linux
|
|
||||||
- docker
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- tmp/unbound
|
|
||||||
script:
|
|
||||||
- mkdir tmp
|
|
||||||
- cd tmp
|
|
||||||
- git clone https://github.com/NLnetLabs/unbound.git
|
|
||||||
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
FROM alpine:3.13 AS builder
|
FROM alpine:3.13 AS builder
|
||||||
|
|
||||||
COPY tmp/unbound/ tmp/unbound
|
|
||||||
RUN \
|
RUN \
|
||||||
apk update && \
|
apk update && \
|
||||||
apk add alpine-sdk && \
|
apk add alpine-sdk && \
|
||||||
@ -9,7 +8,10 @@ RUN \
|
|||||||
apk add openssl-dev && \
|
apk add openssl-dev && \
|
||||||
apk add expat-dev && \
|
apk add expat-dev && \
|
||||||
apk add libevent-dev && \
|
apk add libevent-dev && \
|
||||||
cd tmp/unbound && \
|
mkdir tmp && \
|
||||||
|
cd tmp && \
|
||||||
|
git clone https://github.com/NLnetLabs/unbound.git && \
|
||||||
|
cd unbound && \
|
||||||
./configure --with-libnghttp2 --with-libevent --prefix /opt/unbound && \
|
./configure --with-libnghttp2 --with-libevent --prefix /opt/unbound && \
|
||||||
make && \
|
make && \
|
||||||
make install
|
make install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user