first deploy
parent
4294fae6ee
commit
0762dbc7ce
14
Dockerfile
14
Dockerfile
|
@ -9,16 +9,15 @@ RUN echo "LANG=en_US.UTF-8" > /etc/locale.conf
|
||||||
# fix (tzdata)
|
# fix (tzdata)
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y software-properties-common gcc && \
|
||||||
|
add-apt-repository -y ppa:deadsnakes/ppa
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y python3.7 python3-distutils python3-pip python3-apt
|
||||||
|
|
||||||
|
|
||||||
RUN apt-get -y update && \
|
|
||||||
apt-get -y upgrade && \
|
|
||||||
apt-get install -y python3-pip python3-dev
|
|
||||||
|
|
||||||
RUN apt-get install -y locales git vim nano
|
RUN apt-get install -y locales git vim nano
|
||||||
|
|
||||||
RUN apt-get install -y zsh && apt-get install -y curl
|
|
||||||
RUN PATH="$PATH:/usr/bin/zsh"
|
|
||||||
RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -38,6 +37,5 @@ ENV NOTVISIBLE "in users profile"
|
||||||
RUN echo "export VISIBLE=now" >> /etc/profile
|
RUN echo "export VISIBLE=now" >> /etc/profile
|
||||||
EXPOSE 22
|
EXPOSE 22
|
||||||
|
|
||||||
RUN usermod -s /bin/zsh root
|
|
||||||
|
|
||||||
ENTRYPOINT ["/bin/zsh"]
|
ENTRYPOINT ["/bin/bash"]
|
||||||
|
|
Loading…
Reference in New Issue