From eafe9807d2f1efcaa9e7a7f84d73b342c2699260 Mon Sep 17 00:00:00 2001 From: "Knight, Eddie" Date: Wed, 9 Feb 2022 21:08:25 -0600 Subject: [PATCH] Added bash & updated entrypoint --- Dockerfile | 3 ++- entrypoint.sh | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0d70e95..fdd7fdc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM golang:1.14.4-alpine AS probr-build +RUN apk update && apk upgrade && apk add --update bash RUN apk add --update make git build-base RUN apk add --no-cache \ python3 \ @@ -39,4 +40,4 @@ ENV PROBR_WRITE_DIRECTORY /probr/run # Service packs may be overridden for debugging by mounting to /probr/cmd/bin # Entrypoint may be overridden by mounting to /probr/entrypoint.sh WORKDIR /probr/run -ENTRYPOINT ["entrypoint.sh"] +ENTRYPOINT [ "/probr/entrypoint.sh" ] diff --git a/entrypoint.sh b/entrypoint.sh index 4e84d66..94ad3e5 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,3 +1,4 @@ +#!/bin/bash # If using AWS, credentials are required # If not using AWS, this has no effect mkdir ~/.aws