18 Commits (045f14fbd0e3553521f5092cf839be363c74a090)

Author SHA1 Message Date
Jean-Philippe Roemer 7845075bd2 Dockerfile & Dockerfile.pi updates
- Upgrade of gosu to v1.7
- Change in docker/build.sh to use `--no-cache` to prevent APKINDEX creation when installing dev dependencies
- Manual upgrade of Alpine on Raspberry Pi when building to make sure the environment is the same as the standard Dockerfile
8 years ago
Muh Muhten 5609585ec1 update alpine package dependencies
- s6 is in main in 3.3, so we no longer need to mangle the repos file
- official image is periodically updated, so it's not preferred to do
  upgrades downstream (usually harmless, but inelegant)
- apk-tools in 3.3 supports --no-cache to avoid leaving the APKINDEX
  files in the image
8 years ago
Jean-Philippe Roemer 12c8953381 Update Dockerfile to update alpine to v3.3 & fix virtual package and repository pinning on RPi
- Dockerfile now uses alpine:3.3 as base
- Dockerfile.rpi now uses v3.3/community repository without pinning
- Go package is no longer fetched using repository pinning
- Fixes problem while using repository pinning & virtual package at the same time
9 years ago
Jean-Philippe Roemer 9032bd097b Update Dockerfile & build script and add /etc/nsswitch.conf:
- Add nsswitch.conf to configure LibC Name Service inside the container
- Change my email in the Dockerfile
- Update build script to install software as a `build-deps` virtual package so that adding a package to it will be automatically	removed at the end of the build script
9 years ago
Jean-Philippe Roemer 0cbf56855a Update s6 path following package update 9 years ago
Alvaro Aleman 2671c86ba7 Update gosu, this fixes #1756 9 years ago
Jean-Philippe Roemer ad5e0b833c Docker Container: Init 1 & Initialisation
- Now using a setup script before starting the app. The separation of
the run script and the setup script will make service initialisation a
little bit clearer
- Now calling start.sh script as ENTRYPOINT and S6 as CMD. This way
when running the container with just a shell script, the start.sh
script will be launched before, making debugging easier
- Added note about `.dockerignore` ignored during Docker Hub Automated
Build
9 years ago
Óscar García Amor 3e7d8db7a2 Several bugfixes in Docker build
- Removed unnecessary variables
- Fixed symbolic links creation
- Fixed enter point
- Less intermediate containers
9 years ago
Jean-Philippe Roemer fcb1f4ec07 Add bash to the image so bash git hooks can be used 9 years ago
Jean-Philippe Roemer 3cad8d9492 Use app/docker folder for SSH Configureation 9 years ago
Jean-Philippe Roemer e63e0b3105 New approach to Gogs Docker Container
- VOLUME for ‘/data’
- Usage of S6 as PID 1 Process
- Usage of ‘socat’ so linked container (like databases) are binded to
localhost
- OpenSSH, Socat Link and Gogs are supervised using S6
- Size of container reduced to ~75Mo
9 years ago
Unknwon 232c22208c remove rsync 9 years ago
Unknwon be90ea583a #1521 reduce Docker image size 9 years ago
codeskyblue 4095ef2820 add pam for docker 9 years ago
codeskyblue 9371fbe71a add docker ssh support 9 years ago
codeskyblue feb3cfa067 add missing file 9 years ago
codeskyblue 54b8172a24 some modify, I need to move my workenv to foreign county, network in china is so slow. 9 years ago
Joshua Delsman 406efbf3f5 Adding a project-level Dockerfile & docker-compose script 9 years ago