Skip to content

Commit

Permalink
Tweak dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
anakinxc committed Dec 8, 2023
1 parent e20a96d commit 17d01d7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dockerfiles/ubuntu-base-ci.DockerFile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ LABEL maintainer="[email protected]"
ARG TARGETPLATFORM

# change dash to bash as default shell
RUN ln -sf /usr/bin/bash /bin/sh
RUN chsh -s /bin/bash $(whoami)

RUN apt update \
&& apt upgrade -y \
Expand Down Expand Up @@ -46,5 +46,3 @@ RUN if [ "$TARGETPLATFORM" = "linux/arm64" ] ; then BAZEL_ARCH=arm64 ; else BAZE

# run as root for now
WORKDIR /home/admin/

ENTRYPOINT [ "/bin/bash", "-lc" ]

0 comments on commit 17d01d7

Please sign in to comment.