ci: DL3020

This commit is contained in:
Michael Grote 2023-06-10 10:54:58 +02:00
parent 25e7e11b14
commit 6e35747fd3
2 changed files with 2 additions and 3 deletions

View file

@ -19,7 +19,6 @@ steps:
- name: hadolint
image: hadolint/hadolint:latest-debian
commands:
- hadolint --version
- hadolint Dockerfile
- name: docker_build_and_push_selfhosted

View file

@ -1,6 +1,6 @@
FROM alpine AS builder
ARG MDNS_REPEATER_VERSION=local
ADD mdns-repeater.c mdns-repeater.c
COPY mdns-repeater.c mdns-repeater.c
RUN set -ex && \
apk add --no-cache build-base && \
gcc -o /bin/mdns-repeater mdns-repeater.c -DMDNS_REPEATER_VERSION=\"${MDNS_REPEATER_VERSION}\"