Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
identw committed Mar 18, 2024
1 parent 4a99200 commit 738c545
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM docker.io/ubuntu:22.04
LABEL org.opencontainers.image.source https://github.com/orangeappsru/db-connect

RUN apt-get update && \
apt-get install --no-install-recommends -y \
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
vim \
bash-completion \
iputils-ping \
Expand All @@ -18,15 +18,15 @@ RUN apt-get update && \
libcurl4 \
openssl \
liblzma5 \
curl -o mongodb-mongosh_2.2.0_amd64.deb 'https://repo.mongodb.org/apt/ubuntu/dists/jammy/mongodb-org/5.0/multiverse/binary-amd64/mongodb-mongosh_2.2.0_amd64.deb' && \
dpkg -i mongodb-mongosh_2.2.0_amd64.deb && \
rm -fv mongodb-mongosh_2.2.0_amd64.deb && \
apt-get autoclean && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
rm -fv /bin/sh && \
ln -s -v /bin/bash /bin/sh && \
mkdir /user
&& curl -o mongodb-mongosh_2.2.0_amd64.deb 'https://repo.mongodb.org/apt/ubuntu/dists/jammy/mongodb-org/5.0/multiverse/binary-amd64/mongodb-mongosh_2.2.0_amd64.deb' \
&& dpkg -i mongodb-mongosh_2.2.0_amd64.deb \
&& rm -fv mongodb-mongosh_2.2.0_amd64.deb \
&& apt-get autoclean \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& rm -fv /bin/sh \
&& ln -s -v /bin/bash /bin/sh \
&& mkdir /user

# COPY ./.bash_profile /user/
# RUN chmod 755 /user; chmod 644 /user/.bash_profile
Expand Down

0 comments on commit 738c545

Please sign in to comment.