fix s6-overlay overwriting bin symlinks:

https://github.com/just-containers/s6-overlay/tree/v2.1.0.1#bin-and-sbin-are-symlinks

adding a makefile to build docker images locally.
This commit is contained in:
Jason Kulatunga
2022-06-02 21:06:43 -07:00
parent 6e02e4da02
commit ca7772250c
4 changed files with 18 additions and 7 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ FROM ubuntu:latest as runtime
EXPOSE 8080
WORKDIR /opt/scrutiny
ENV PATH="/opt/scrutiny/bin:${PATH}"
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y ca-certificates curl tzdata && update-ca-certificates
COPY --from=backendbuild /go/src/github.com/analogj/scrutiny/scrutiny /opt/scrutiny/bin/