bless
This commit is contained in:
parent
c9aaa698d1
commit
33f9ad12bb
30
compose.yaml
Normal file
30
compose.yaml
Normal file
@ -0,0 +1,30 @@
|
||||
services:
|
||||
minishell:
|
||||
container_name: "minishell"
|
||||
build:
|
||||
context: ./minishell
|
||||
dockerfile: Dockerfile
|
||||
|
||||
cap_drop:
|
||||
- ALL
|
||||
- NET_ADMIN
|
||||
cap_add:
|
||||
- CHOWN
|
||||
- SETGID
|
||||
- DAC_OVERRIDE
|
||||
# - FSETID
|
||||
- SETUID
|
||||
|
||||
# Prevents gaining new privileges
|
||||
security_opt:
|
||||
- no-new-privileges
|
||||
|
||||
networks:
|
||||
- website_net
|
||||
ports:
|
||||
- "127.0.0.1:7681:7681"
|
||||
|
||||
networks:
|
||||
website_net:
|
||||
external: false
|
||||
internal: true
|
||||
7
init.sh
7
init.sh
@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Download alpine iso
|
||||
wget https://dl-cdn.alpinelinux.org/alpine/v3.19/releases/x86_64/alpine-standard-3.19.0-x86_64.iso -O alpine/alpine.iso
|
||||
|
||||
# Create qemu volume
|
||||
qemu-img create -f qcow2 alpine.qcow2 2
|
||||
1
minishell
Submodule
1
minishell
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 4bb666d9215affc79c6c73967174bf1366093e91
|
||||
Loading…
x
Reference in New Issue
Block a user