Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
anakinxc committed Dec 11, 2023
1 parent 8ca503a commit 8d57a83
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 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 ln -sf /bin/bash /bin/sh

RUN apt update \
&& apt upgrade -y \
Expand Down Expand Up @@ -35,7 +35,7 @@ RUN if [ "$TARGETPLATFORM" = "linux/arm64" ] ; then CONDA_ARCH=aarch64 ; else CO
&& rm -f Miniconda3-py310_23.10.0-1-Linux-$CONDA_ARCH.sh

# Create python 3.8 env
RUN /root/miniconda3/bin/conda init bash \
RUN /root/miniconda3/bin/conda init \
&& /root/miniconda3/bin/conda create -n py3.8 python=3.8

# install bazel
Expand All @@ -46,3 +46,5 @@ 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 8d57a83

Please sign in to comment.