Skip to content

Instantly share code, notes, and snippets.

View typoworx-de's full-sized avatar

typoworx-de

View GitHub Profile
@typoworx-de
typoworx-de / 01 Create a debug version of the docker image.sh
Created April 17, 2023 09:00 — forked from sh41/01 Create a debug version of the docker image.sh
Debugging segmentation faults in PHP in a docker container.
git clone git@github.com:docker-library/php.git docker-library-php
## Go to the specific version you're interested in
cd docker-library-php/7.1/fpm/alpine
## Edit the .Dockerfile.
## Change
## ENV PHP_EXTRA_CONFIGURE_ARGS --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data
## to
## ENV PHP_EXTRA_CONFIGURE_ARGS --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --enable-debug
## Comment out or delete:
@typoworx-de
typoworx-de / .gitlab-ci-local-env
Created March 15, 2023 12:11
firecow/gitlab-ci-local: testing artifacts fails
NEEDS=true
CLEANUP=true
PRIVILEGED=true
MOUNT-CACHE=true
VOLUME="/var/run/docker.sock:/var/run/docker.sock"
EXTRA-HOST="host.docker.internal:host-gateway"
@typoworx-de
typoworx-de / 0-4-steps-get-docker-with-gpu-on-ubuntu-2004.md
Created January 31, 2023 14:52 — forked from hideojoho/0-4-steps-get-docker-with-gpu-on-ubuntu-2004.md
4 steps to get a docker running with GPU on Ubuntu 20.04

⚠️ The following instruction is written on 25 Jul 2020 (= old).

4 steps to get a docker running with GPU on Ubuntu 20.04

Environment

  • Ubuntu 20.04
  • CUDA 10.2
  • Docker Latest