different approach to fetch upstream
This commit is contained in:
parent
8acc95e445
commit
3569a44161
@ -1,25 +1,4 @@
|
||||
stages:
|
||||
- prepare
|
||||
- check
|
||||
- build
|
||||
|
||||
include:
|
||||
- project: dockerized/commons
|
||||
ref: master
|
||||
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
|
||||
|
||||
COPY tmp/unbound/ tmp/unbound
|
||||
RUN \
|
||||
apk update && \
|
||||
apk add alpine-sdk && \
|
||||
@ -9,7 +8,10 @@ RUN \
|
||||
apk add openssl-dev && \
|
||||
apk add expat-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 && \
|
||||
make && \
|
||||
make install
|
||||
|
Loading…
x
Reference in New Issue
Block a user