Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -28
Dockerfile
CHANGED
@@ -52,41 +52,14 @@ EXPOSE 8501
|
|
52 |
# --------------------- INSTALLING EXTRA PACKAGES -----------------------------
|
53 |
# --- Updating packages and installing packages at the system-level
|
54 |
|
55 |
-
RUN apt-get -y
|
56 |
-
apt-get upgrade -y && \
|
57 |
-
apt-get clean && \
|
58 |
-
# Instaling system-level packages
|
59 |
-
apt-get install -y \
|
60 |
git \
|
61 |
ssh \
|
62 |
-
tree \
|
63 |
-
git-flow \
|
64 |
-
tmux \
|
65 |
-
direnv \
|
66 |
-
bash-completion \
|
67 |
-
zsh \
|
68 |
-
htop \
|
69 |
-
vim \
|
70 |
&& \
|
71 |
# Cleaning out
|
72 |
rm -rf /var/lib/apt/lists/* && \
|
73 |
# Cleaning installs
|
74 |
apt-get clean && \
|
75 |
-
# Installing ZSH and OhZSH
|
76 |
-
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" && \
|
77 |
-
echo "source /etc/profile.d/bash_completion.sh" >> /root/.bashrc && \
|
78 |
-
echo "source /etc/profile.d/bash_completion.sh" >> /root/.zshrc && \
|
79 |
-
echo "source /root/aliases.sh" >> "${OUTDIR}/.zshrc" && \
|
80 |
-
echo "source /root/aliases.sh" >> "${OUTDIR}/.bashrc" && \
|
81 |
-
# Install direnv
|
82 |
-
echo 'eval "$(direnv hook zsh)"' >> "${OUTDIR}/.zshrc" && \
|
83 |
-
echo 'eval "$(direnv hook bash)"' >> "${OUTDIR}/.bash"
|
84 |
-
|
85 |
-
# -------------------------- DOCKER-SPECIFIC ----------------------------------
|
86 |
-
|
87 |
-
RUN apt-get update -y && \
|
88 |
-
cd ${OUTDIR_DOCKER} && \
|
89 |
-
curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh
|
90 |
|
91 |
# --------------------------- PYTHON-RELATED-LOCAL ----------------------------
|
92 |
|
|
|
52 |
# --------------------- INSTALLING EXTRA PACKAGES -----------------------------
|
53 |
# --- Updating packages and installing packages at the system-level
|
54 |
|
55 |
+
RUN apt-get install -y \
|
|
|
|
|
|
|
|
|
56 |
git \
|
57 |
ssh \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
&& \
|
59 |
# Cleaning out
|
60 |
rm -rf /var/lib/apt/lists/* && \
|
61 |
# Cleaning installs
|
62 |
apt-get clean && \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
|
64 |
# --------------------------- PYTHON-RELATED-LOCAL ----------------------------
|
65 |
|