Skip to content

grimpirate/docker-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeIgniter on Alpine Linux Dockerfile

Config

https://docs.docker.com/engine/security/rootless/ https://stackoverflow.com/questions/413807/is-there-a-way-for-non-root-processes-to-bind-to-privileged-ports-on-linux

sysctl net.ipv4.ip_unprivileged_port_start=80

Build

Default values

ARG db_name=codeigniter4
ARG db_user=username
ARG db_pass=password
ARG db_sessions=ci_sessions
ARG tz_country=America
ARG tz_city=New_York
ARG ci_subdir=sub
ARG ci_baseurl=http://localhost
docker build --build-arg ci_subdir=sub -t codeigniter .

Run

docker run -dp 80:80 -i codeigniter

Docker Launch

systemctl --user start docker-desktop

Prune

docker system prune -a
docker container prune
docker volume prune
docker builder prune
docker image prune

About

CodeIgniter on Alpine Linux Dockerfile

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published