├── CONTRIBUTING.md ├── Getting Started with Self-Hosting.dockerfile └── README.md /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing Guidelines 2 | 3 | **Make sure your pull request follows these guidelines:** 4 | 5 | - Search through the previous pull requests before making a new one! 6 | - Adding new categories, or improving existing categories is welcome! 7 | - Make sure you've personally used or benefited from the suggested resource. 8 | - Make an individual pull request for each suggestion. 9 | - Use the following format: `[Resource Title](url link) — description.` 10 | - Expand on why the resource is useful in your pull request if needed. 11 | - Keep descriptions short and simple, but descriptive. 12 | - Please double check your spelling and grammar. 13 | 14 | **Thanks for contributing to this Project!** 15 | -------------------------------------------------------------------------------- /Getting Started with Self-Hosting.dockerfile: -------------------------------------------------------------------------------- 1 | Code samples & snippets coming soon! 2 | 3 | # 4 | # Ubuntu 5 | # 6 | 7 | # Pull base image. 8 | FROM ubuntu:22.04 9 | 10 | # Install. 11 | RUN \ 12 | sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list && \ 13 | apt-get update && \ 14 | apt-get -y upgrade && \ 15 | apt-get install -y build-essential && \ 16 | apt-get install -y software-properties-common && \ 17 | apt-get install -y byobu curl git htop man unzip vim wget && \ 18 | rm -rf /var/lib/apt/lists/* 19 | 20 | # Add files. 21 | ADD root/.bashrc /root/.bashrc 22 | ADD root/.gitconfig /root/.gitconfig 23 | ADD root/.scripts /root/.scripts 24 | 25 | # Set environment variables. 26 | ENV HOME /root 27 | 28 | # Define working directory. 29 | WORKDIR /root 30 | 31 | # Define default command. 32 | CMD ["bash"] 33 | 34 | # Checking APT Cache 35 | 36 | FROM ubuntu:22.04 37 | RUN rm -f /etc/apt/apt.conf.d/docker-clean; echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-cache 38 | RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ 39 | --mount=type=cache,target=/var/lib/apt,sharing=locked \ 40 | apt update && apt-get --no-install-recommends install -y gcc 41 | --------------------------------------------------------------------------------