lol kernel
This commit is contained in:
parent
33f9ad12bb
commit
d63aa9b0c4
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1 @@
|
||||
/target
|
||||
/alpine/*
|
||||
|
||||
22
compose.yaml
22
compose.yaml
@ -5,24 +5,34 @@ services:
|
||||
context: ./minishell
|
||||
dockerfile: Dockerfile
|
||||
|
||||
cap_drop:
|
||||
- ALL
|
||||
- NET_ADMIN
|
||||
# cap_drop:
|
||||
# - ALL
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
- CHOWN
|
||||
- SETGID
|
||||
- DAC_OVERRIDE
|
||||
# - FSETID
|
||||
- SETUID
|
||||
|
||||
volumes:
|
||||
- /home/vvobis/sgoinfre/git/personal/website/minishell/alpine/alpine-custom.iso:/boot.iso
|
||||
|
||||
# Prevents gaining new privileges
|
||||
devices:
|
||||
- /dev/kvm
|
||||
- /dev/net/tun
|
||||
security_opt:
|
||||
- no-new-privileges
|
||||
|
||||
networks:
|
||||
- website_net
|
||||
environment:
|
||||
DISK_SIZE: "1GB"
|
||||
RAM_SIZE: "500MB"
|
||||
|
||||
# networks:
|
||||
# - website_net
|
||||
ports:
|
||||
- "127.0.0.1:7681:7681"
|
||||
- "8006:8006"
|
||||
|
||||
networks:
|
||||
website_net:
|
||||
|
||||
16
run.sh
Executable file
16
run.sh
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
# Compile the minishell project
|
||||
make -C minishell/minishell_src
|
||||
|
||||
# stop containers if running
|
||||
docker compose down -v
|
||||
|
||||
# remove volumes
|
||||
docker volume prune -f
|
||||
docker image rm website-minishell -f
|
||||
|
||||
# start the containers
|
||||
docker compose up
|
||||
4
sources.txt
Normal file
4
sources.txt
Normal file
@ -0,0 +1,4 @@
|
||||
# Website Creation sources
|
||||
|
||||
# Compile the kernel
|
||||
- https://itsfoss.com/compile-linux-kernel/
|
||||
Loading…
x
Reference in New Issue
Block a user