From 2e234704317d673a762c96b5fd154174cc089785 Mon Sep 17 00:00:00 2001 From: Tobias Rausch Date: Fri, 17 Nov 2023 09:04:10 +0100 Subject: [PATCH] docker bash --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 399badf..92848f2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,15 +39,16 @@ RUN cd /opt \ # Multi-stage build FROM alpine:latest +RUN apk add --no-cache bash RUN mkdir -p /opt/lorax/bin WORKDIR /opt/lorax/bin COPY --from=0 /opt/lorax/bin/lorax . # Workdir -WORKDIR /root/ +WORKDIR /home # Add lorax to PATH ENV PATH="/opt/lorax/bin:${PATH}" # by default /bin/sh is executed -CMD ["/bin/sh"] +CMD ["/bin/bash"]