Skip to content

Commit

Permalink
feat: install zsh on unbuntu for developing
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongwencool committed May 14, 2024
1 parent 56da0f1 commit 51060af
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ ARG FDB_VERSION=7.3.27
ARG EMQTT_BENCH_REF=0.4.17
ARG LUX_REF=lux-2.9.1

COPY get-otp.sh get-elixir.sh get-fdb.sh get-emqtt-bench.sh get-lux.sh /
COPY get-otp.sh get-zsh.sh get-elixir.sh get-fdb.sh get-emqtt-bench.sh get-lux.sh /

RUN /get-otp.sh ${OTP_VERSION} && \
/get-elixir.sh ${ELIXIR_VERSION} && \
/get-zsh.sh && \
env FDB_VERSION=${FDB_VERSION} /get-fdb.sh && \
env EMQTT_BENCH_REF=${EMQTT_BENCH_REF} /get-emqtt-bench.sh && \
env LUX_REF=${LUX_REF} /get-lux.sh && \
rm /get-otp.sh /get-elixir.sh /get-fdb.sh /get-emqtt-bench.sh /get-lux.sh
rm /get-otp.sh /get-zsh.sh /get-elixir.sh /get-fdb.sh /get-emqtt-bench.sh /get-lux.sh

WORKDIR /
CMD [ "/bin/bash" ]
2 changes: 2 additions & 0 deletions ubuntu16.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RUN apt-get update && apt-get install -y \
flex \
g++ \
gcc \
zsh \
jq \
libffi-dev \
libkrb5-3 \
Expand Down Expand Up @@ -89,5 +90,6 @@ RUN apt-get clean \
# Elixir complains if runs without UTF-8
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
ENV ERL_AFLAGS="-kernel shell_history enabled"

CMD [ "/bin/bash" ]
2 changes: 2 additions & 0 deletions ubuntu18.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ RUN apt-get update && apt-get install -y \
g++ \
gcc \
git \
zsh \
jq \
libffi-dev \
libkrb5-3 \
Expand Down Expand Up @@ -92,5 +93,6 @@ RUN apt-get clean \
# Elixir complains if runs without UTF-8
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
ENV ERL_AFLAGS="-kernel shell_history enabled"

CMD [ "/bin/bash" ]
2 changes: 2 additions & 0 deletions ubuntu20.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ RUN apt-get update && apt-get install -y \
git \
inotify-tools \
jq \
zsh \
libffi-dev \
libkrb5-3 \
libkrb5-dev \
Expand Down Expand Up @@ -63,6 +64,7 @@ RUN apt-get clean\
# Elixir complains if runs without UTF-8
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
ENV ERL_AFLAGS="-kernel shell_history enabled"

WORKDIR /
CMD [ "/bin/bash" ]
2 changes: 2 additions & 0 deletions ubuntu22.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RUN apt-get update && apt-get install -y \
expect \
flex \
git \
zsh \
inotify-tools \
jq \
krb5-admin-server \
Expand Down Expand Up @@ -53,6 +54,7 @@ WORKDIR /
# Elixir complains if runs without UTF-8
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
ENV ERL_AFLAGS="-kernel shell_history enabled"

WORKDIR /
CMD [ "/bin/bash" ]
2 changes: 2 additions & 0 deletions ubuntu24.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RUN apt-get update && apt-get install -y \
expect \
flex \
git \
zsh \
inotify-tools \
jq \
krb5-admin-server \
Expand Down Expand Up @@ -53,6 +54,7 @@ WORKDIR /
# Elixir complains if runs without UTF-8
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
ENV ERL_AFLAGS="-kernel shell_history enabled"

WORKDIR /
CMD [ "/bin/bash" ]

0 comments on commit 51060af

Please sign in to comment.