some fixes
All checks were successful
continuous-integration/woodpecker the build was successful

This commit is contained in:
Samuel Philipp 2021-11-04 22:56:09 +01:00
parent 5b2775afe0
commit 9b38a7e7a3
3 changed files with 10 additions and 30 deletions

View file

@ -5,7 +5,9 @@ pipeline:
- DOCKER_USERNAME - DOCKER_USERNAME
- DOCKER_PASSWORD - DOCKER_PASSWORD
repo: spcodes/coturn repo: spcodes/coturn
tags: latest tags:
- 4.5.2
- latest
when: when:
branch: branch:
- main - main
@ -20,7 +22,9 @@ pipeline:
target: DOCKER_PASSWORD target: DOCKER_PASSWORD
registry: cr.sp-codes.de registry: cr.sp-codes.de
repo: cr.sp-codes.de/coturn repo: cr.sp-codes.de/coturn
tags: latest tags:
- 4.5.2
- latest
when: when:
branch: branch:
- main - main

View file

@ -1,4 +1,4 @@
FROM debian:11.0-slim@sha256:dacf278785a4daa9de07596ec739dbc07131e189942772210709c5c0777e8437 FROM debian:11.1-slim@sha256:dddc0f5f01db7ca3599fd8cf9821ffc4d09ec9d7d15e49019e73228ac1eee7f9
ENV COTURN_VERSION="4.5.2" ENV COTURN_VERSION="4.5.2"
ENV PROMETHEUS_CLIENT_VERSION="v0.1.3" ENV PROMETHEUS_CLIENT_VERSION="v0.1.3"
@ -7,12 +7,7 @@ ENV BUILD_PREFIX /usr/local/src
WORKDIR /root/coturn WORKDIR /root/coturn
RUN apt-get update && apt-get dist-upgrade -y && apt-get install -y \ RUN apt-get update && apt-get dist-upgrade -y && apt-get install -y build-essential pkg-config libssl-dev libevent-dev curl \
build-essential="12.6" \
pkg-config="0.29.2-1" \
libssl-dev="1.1.1k-1" \
libevent-dev="2.1.12-stable-1" \
curl \
&& PCV=$(echo "${PROMETHEUS_CLIENT_VERSION}" | cut -c 2-) \ && PCV=$(echo "${PROMETHEUS_CLIENT_VERSION}" | cut -c 2-) \
&& curl -L "https://github.com/digitalocean/prometheus-client-c/releases/download/${PROMETHEUS_CLIENT_VERSION}/libprom-dev-${PCV}-Linux.deb" > /tmp/libprom.deb \ && curl -L "https://github.com/digitalocean/prometheus-client-c/releases/download/${PROMETHEUS_CLIENT_VERSION}/libprom-dev-${PCV}-Linux.deb" > /tmp/libprom.deb \
&& curl -L "https://github.com/digitalocean/prometheus-client-c/releases/download/${PROMETHEUS_CLIENT_VERSION}/libpromhttp-dev-${PCV}-Linux.deb" > /tmp/libpromhttp.deb \ && curl -L "https://github.com/digitalocean/prometheus-client-c/releases/download/${PROMETHEUS_CLIENT_VERSION}/libpromhttp-dev-${PCV}-Linux.deb" > /tmp/libpromhttp.deb \

View file

@ -11,11 +11,11 @@
{ {
"fileMatch": [ "fileMatch": [
"^Dockerfile$", "^Dockerfile$",
"^.drone.yml$" "^.woodpecker.yml$"
], ],
"matchStrings": [ "matchStrings": [
"\\s+ENV\\s*COTURN_VERSION=\"(?<currentValue>.*?)\"\\s+", "\\s+ENV\\s*COTURN_VERSION=\"(?<currentValue>.*?)\"\\s+",
"\\s+target:\\s*spcodes\\/coturn:(?<currentValue>.*?)\\s+" "\\s+repo:\\s*\\S*\\/coturn\\s+tags:[-\\s]+(?<currentValue>.*?)\\s+"
], ],
"versioningTemplate": "loose", "versioningTemplate": "loose",
"depNameTemplate": "coturn/coturn", "depNameTemplate": "coturn/coturn",
@ -31,17 +31,6 @@
"versioningTemplate": "loose", "versioningTemplate": "loose",
"depNameTemplate": "digitalocean/prometheus-client-c", "depNameTemplate": "digitalocean/prometheus-client-c",
"datasourceTemplate": "github-releases" "datasourceTemplate": "github-releases"
},
{
"fileMatch": [
"^Dockerfile$"
],
"matchStrings": [
"\\s+(?<depName>[a-z0-9\\-]+?)=\"(?<currentValue>.*?)\""
],
"lookupNameTemplate": "debian_stable/{{{depName}}}",
"versioningTemplate": "loose",
"datasourceTemplate": "repology"
} }
], ],
"packageRules": [ "packageRules": [
@ -53,14 +42,6 @@
"coturn" "coturn"
] ]
}, },
{
"datasources": [
"repology"
],
"groupName": [
"base dependencies"
]
},
{ {
"datasources": [ "datasources": [
"docker" "docker"