-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
48 lines (36 loc) · 1.33 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
#
# Created by Jugal Kishore -- 2020
#
# CPP & C Build Tools
#
# 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
# Update apt packages lists
RUN apt-get update
# Upgrade packages to latest version
RUN apt-get upgrade -y
# Remove unused packages
RUN apt-get -y autoremove --purge
# Install essential packages
RUN apt-get install -y --no-install-recommends \
build-essential git curl wget \
clang g++ gcc nano ca-certificates \
locales-all gpg jq tar xz-utils screen \
tmux tree openssh-client 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 -
# 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"]