Add all stuff

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2022-05-10 23:45:36 +05:30
commit 83cd81d618
Signed by: baalajimaestro
GPG Key ID: F93C394FE9BBAFD5
2 changed files with 90 additions and 0 deletions

77
Dockerfile Normal file
View File

@ -0,0 +1,77 @@
FROM fedora:36
RUN dnf -y update && \
dnf -y install automake \
autoconf \
binutils \
bc \
libtool \
patch \
gettext \
flex \
android-tools \
automake \
bison \
bzip2 \
bzip2-libs \
ccache \
curl \
dpkg-dev \
gcc \
gcc-c++ \
git \
gperf \
libstdc++.i686 \
libxml2-devel \
lz4-libs \
lzop \
make \
maven \
ncurses-compat-libs \
openssl-devel \
pngcrush \
openssl \
python \
python3 \
python3-mako \
python-mako \
python-networkx \
schedtool \
squashfs-tools \
syslinux-devel \
zip \
zlib-devel \
zlib-devel.i686 \
wget \
aria2 \
rsync \
rclone \
tmux \
nano \
fish \
starship \
libxcrypt-compat \
openssh-server
RUN curl -o /usr/bin/repo https://storage.googleapis.com/git-repo-downloads/repo && \
chmod +x /usr/bin/repo
RUN ssh-keygen -A
RUN useradd builder --create-home -s /usr/bin/fish
USER builder
RUN fish -c "echo fish-init" && \
echo "starship init fish | source" >> ~/.config/fish/config.fish
COPY starship.toml ~/.config/starship.toml
RUN mkdir ~/.ssh && \
echo 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN39kBVOv9wFTJPqpm/3acFrL3ASSl5vxiiOpZNdRY5F baalajimaestro@maestrobook-work' >> ~/.ssh/authorized_keys && \
chmod 700 ~/.ssh && \
chmod 600 ~/.ssh/authorized_keys
USER root
CMD ["/usr/sbin/sshd", "-D"]

13
starship.toml Normal file
View File

@ -0,0 +1,13 @@
format = "$time$battery$directory$character$status"
[aws]
disabled = true
[time]
disabled = false
[python]
disabled = true
[status]
disabled = false