Skip to content

Commit

Permalink
docker: set default shell to bash (#1667)
Browse files Browse the repository at this point in the history
* docker: change default shell to bash

* set SHELL
  • Loading branch information
bjia56 authored Dec 27, 2024
1 parent 45a2d57 commit 699eeba
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions install/docker/Dockerfile.full
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ RUN echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" |
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
RUN apt-get -y update && apt-get -y install libedgetpu1-std

# set default shell to bash
RUN chsh -s /bin/bash
ENV SHELL="/bin/bash"

ENV SCRYPTED_INSTALL_ENVIRONMENT="docker"
ENV SCRYPTED_CAN_RESTART="true"
ENV SCRYPTED_VOLUME="/server/volume"
Expand Down
4 changes: 4 additions & 0 deletions install/docker/template/Dockerfile.full.footer
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ RUN echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" |
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
RUN apt-get -y update && apt-get -y install libedgetpu1-std

# set default shell to bash
RUN chsh -s /bin/bash
ENV SHELL="/bin/bash"

ENV SCRYPTED_INSTALL_ENVIRONMENT="docker"
ENV SCRYPTED_CAN_RESTART="true"
ENV SCRYPTED_VOLUME="/server/volume"
Expand Down

0 comments on commit 699eeba

Please sign in to comment.