commit 83cd81d61834a5721005027c288407a6c14d3c93 Author: baalajimaestro Date: Tue May 10 23:45:36 2022 +0530 Add all stuff Signed-off-by: baalajimaestro diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..80d190d --- /dev/null +++ b/Dockerfile @@ -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"] \ No newline at end of file diff --git a/starship.toml b/starship.toml new file mode 100644 index 0000000..d0f091e --- /dev/null +++ b/starship.toml @@ -0,0 +1,13 @@ +format = "$time$battery$directory$character$status" + +[aws] +disabled = true + +[time] +disabled = false + +[python] +disabled = true + +[status] +disabled = false \ No newline at end of file