Skip to content

Instantly share code, notes, and snippets.

View littlefuntik's full-sized avatar

Hryhorii Furletov littlefuntik

View GitHub Profile
@littlefuntik
littlefuntik / zoneinfo.tree.output
Created January 30, 2017 19:49
linux zoneinfo file system (alpine: "tree -a /usr/share/zoneinfo/")
├── Africa
│   ├── Abidjan
│   ├── Accra
│   ├── Addis_Ababa
│   ├── Algiers
│   ├── Asmara
│   ├── Asmera
│   ├── Bamako
│   ├── Bangui
│   ├── Banjul
@littlefuntik
littlefuntik / Dockerfile
Last active November 15, 2023 07:16
alpine linux -- make install -- php-fpm 7.1.1 + geoip-1.1.1 + xdebug-2.5.0
## Container console commands (Windows: PowerShell)
# docker build --no-cache -t php:7.1
# docker run --name test-php -v "${PWD}:/var/www:rw" -p "9001:9000" -d php:7.1
# docker exec -ti php:7.1 /bin/sh
# docker rm test-php --force
# docker rmi php:7.1
FROM alpine
RUN \
addgroup -g 82 -S www-data && adduser -u 82 -D -S -G www-data www-data && \