aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Grote2023-06-10 10:54:58 +0200
committerMichael Grote2023-06-10 10:54:58 +0200
commit6e35747fd3d182a5a76540e2237eedc5c6c40490 (patch)
tree040da6d8d27d4c6db6c29adbd728bd8e3e9a1879
parent25e7e11b14fe176cbcbee1ea1645d55d0f93ac67 (diff)
ci: DL3020
-rw-r--r--.drone.yml3
-rw-r--r--Dockerfile2
2 files changed, 2 insertions, 3 deletions
diff --git a/.drone.yml b/.drone.yml
index 2d40410..1a3b606 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -19,8 +19,7 @@ steps:
- name: hadolint
image: hadolint/hadolint:latest-debian
commands:
- - hadolint --version
- - hadolint Dockerfile
+ - hadolint Dockerfile
- name: docker_build_and_push_selfhosted
image: thegeeklab/drone-docker-buildx:23
diff --git a/Dockerfile b/Dockerfile
index 4a68716..e0dd25c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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}\"