Simple docker images for TOS
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
This repository contains 2 docker images that you can build on your own.
Dockerfile
contains the most basic docker image (archlinux image with tos repository)Dockerfile.user
contains a full tos image together with a build in user (includes things such as yay)
All you need is docker
You can also use make
to make your life a bit easier.
- Clone the tos-docker
git clone https://github.com/ODEX-TOS/tos-docker.git
- Install docker
pacman -Syu docker
- Enable docker
systemctl start docker && systemctl enable docker
docker pull f0xedb/tos:latest
docker pull f0xedb/tos-user:latest
Everything below will be explained using
make
and aMakefile
if you wish to run the commands yourself look into theMakefile
# to build Dockerfile
make build
# to build Dockerfile.user
make build-user
# Dockerfile
make all-tos
# Dockerfile-user
make all-user
By default the docker images are called
tos
andtos-user
And also upload by default go tof0xedb/tos:latest
If you wish to rename the image or upload to a different docker user do the following
DOCKER_USER="f0xedb" IMAGE_NAME="tos-base" IMAGE_NAME_USER="tos" make all
DOCKER_USER
is an env variable that holds the user to upload the images to
IMAGE_NAME
is an env variable that holds the image name for the Dockerfile
IMAGE_NAME_USER
is the same as IMAGE_NAME
but for Dockerfile.user
make clean
make run
make run-user
For more examples, please refer to the Documentation
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
F0xedb - [email protected]
Project Link: https://github.com/ODEX-TOS/tos-docker