Skip to content

Commit

Permalink
docker bash
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasrausch committed Nov 17, 2023
1 parent 80fbe95 commit 2e23470
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 2e23470

Please sign in to comment.