-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
57 lines (44 loc) · 1.54 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#
# Jugal Kishore -- 2020
#
# All the required tools for Python coding and stuff
#
# Base Image: ubuntu:noble
FROM ubuntu:noble
# Setting Non-Interactive Build Time Environment Variable
ARG DEBIAN_FRONTEND=noninteractive
# Setting TERM Environment Variable
ENV TERM=xterm-256color
# Upating packages list
RUN apt-get update
# Upgrading packages
RUN apt-get -y upgrade
# Removing unused packages
RUN apt-get -y autoremove --purge
# Installing packages
RUN apt-get install -y --no-install-recommends \
git curl python3 python3-pip wget nano \
tar zip unzip locales-all \
python-is-python3 gpg openssh-client xz-utils \
iputils-ping traceroute tmux screen \
gpg jq python3-venv tree 1> /dev/null
# Install tmate
RUN curl -sL https://raw.githubusercontent.com/crazyuploader/Bash/master/install/tmate.sh | bash -
# Clean up
RUN apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/*
# Install ffsend
RUN curl -sL https://raw.githubusercontent.com/crazyuploader/Bash/master/install/ffsend.sh | bash -
# Installing pip packages
RUN pip install --no-cache-dir --break-system-packages \
flake8 \
pyflakes \
black \
csvtomd \
requests
# Custom Functions
RUN curl -sL https://raw.githubusercontent.com/crazyuploader/Misc/master/functions >> ~/.bashrc
# Git Identity Setup
RUN curl -sLO https://raw.githubusercontent.com/crazyuploader/Bash/master/git_identity.sh && \
printf "\nalias setgit=\"bash /git_identity.sh\"" >> ~/.bashrc
CMD ["bash"]