summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatt Arnold <matt@thegnuguru.org>2023-01-04 19:46:47 -0500
committerMatt Arnold <matt@thegnuguru.org>2023-01-04 19:46:47 -0500
commit231dca7a940eff16d2bd9415ed57f0466ae8f3dd (patch)
treef8401ed1def58cdc827b966b140bec629856b161
parent3837f480dbddbfd8e9f1d2f3f31d720a91436877 (diff)
Switch to chaingaurd images
-rw-r--r--Dockerfile4
-rw-r--r--Makefile2
2 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 0e03041..258cdda 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,5 +1,6 @@
-FROM alpine:latest
+FROM cgr.dev/chainguard/alpine-base:latest
 
+RUN echo -e  "\nhttps://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
 RUN apk add --update --no-cache go git make musl-dev curl openssl
 RUN mkdir -p /app/src
 WORKDIR /app/src
@@ -14,5 +15,4 @@ WORKDIR /
 COPY entrypoint.sh /
 RUN chmod +x entrypoint.sh
 EXPOSE 3000
-RUN ip addr
 ENTRYPOINT ./entrypoint.sh
diff --git a/Makefile b/Makefile
index 206ca07..1f3b4a5 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ build: sign
 	docker build --no-cache . -t deepblue
 sign:
 	./sign.sh
-up: sign builld
+up: sign build
 	docker run --net customnetwork --ip 172.42.0.2 -d deepblue --name blueproxy
 clean:
 	rm -fv intercept*