aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
Commit message (Collapse)AuthorAgeFilesLines
* Fixing multiple docker issues (#386)Thomas Boerger2016-12-151-4/+2
| | | | | | | | | | | | * Added stupid docker task to makefile * Dropped unknown option PrintLastLog from docker ssh config * OpenSSH should log to docker stdout * Set random pw for docker git user, otherwise it is locked * Stop using templates and public within docker
* Copy gitea binary to docker from correct path (#325)Thomas Boerger2016-12-011-1/+1
| | | Signed-off-by: Thomas Boerger <tboerger@suse.de>
* Added -S flag to addgroup command within DockerfilesThomas Boerger2016-11-281-1/+1
|
* Replaced edge with 3.4 for the alpine base imageThomas Boerger2016-11-281-1/+1
|
* Replaced shadow with addgroup and adduserThomas Boerger2016-11-281-8/+5
|
* Use su-exec instead of gosu, much smallerThomas Boerger2016-11-281-3/+3
|
* Restructured docker buildingThomas Boerger2016-11-281-17/+42
| | | | | | | | | I have restructured the docker build process entirely, the binary gets built outside of the docker build command, now we are managing all dependencies with real Alpine packages and I have dropped features like socat or the cron daemon. Signed-off-by: Thomas Boerger <tboerger@suse.de>
* Replace GOGS with GITEA in variable namesSandro Santilli2016-11-071-1/+1
| | | | | | | | | | | | Still use GOGS_WORK_DIR and GOGS_CUSTOM env variables as a fallback if the equivalent GITEA_* are not set, warning user about the need for change. Does not change "gogs" to "gitea" in webhook type name Because "gogs" hook type is part of the API (routes) and used in templates... Closes #87
* docker: Support timezones (#3262)Andrey Arapov2016-07-151-1/+1
|
* Update docker/build.sh script to use glide & make (#3079)Jean-Philippe Roemer2016-05-111-1/+1
| | | | | | | | | | | | | | | | | | | | | * docker: update build script to use glide + make - docker/build.sh will now use glide to fetch dependencies - glide is built from source to keep compatibility with arm (no pre-prebuilt binary for arm) - docker/build.sh will also now use the provided Makefile It will generate an error when trying to get git build has as we do not ship the 88mo .git directory during the build (should not cause any problem as the variable it sets was not set previously) * docker: fix docker arm build - drop gosu version back to 1.7 as gosu binary for armhf is broken - see tianon/gosu#19 * docker: update gosu to 1.9 Signed-off-by: Jean-Philippe Roemer <jp@roemer.im>
* Dockerfile & Dockerfile.pi updatesJean-Philippe Roemer2016-02-251-1/+1
| | | | | | - 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
* update alpine package dependenciesMuh Muhten2016-02-191-4/+2
| | | | | | | | - 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
* Update Dockerfile to update alpine to v3.3 & fix virtual package and ↵Jean-Philippe Roemer2016-01-281-2/+1
| | | | | | | | | 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
* Update Dockerfile & build script and add /etc/nsswitch.conf:Jean-Philippe Roemer2016-01-251-1/+4
| | | | | | - 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
* Update s6 path following package updateJean-Philippe Roemer2015-11-161-1/+1
|
* Update gosu, this fixes #1756Alvaro Aleman2015-10-101-1/+1
|
* Docker Container: Init 1 & InitialisationJean-Philippe Roemer2015-10-021-1/+2
| | | | | | | | | | | - 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
* Several bugfixes in Docker buildÓscar García Amor2015-10-021-10/+2
| | | | | | | - Removed unnecessary variables - Fixed symbolic links creation - Fixed enter point - Less intermediate containers
* Add bash to the image so bash git hooks can be usedJean-Philippe Roemer2015-10-021-1/+1
|
* Use app/docker folder for SSH ConfigureationJean-Philippe Roemer2015-10-021-3/+1
|
* New approach to Gogs Docker ContainerJean-Philippe Roemer2015-10-021-44/+21
| | | | | | | | | - 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
* remove rsyncUnknwon2015-09-061-1/+1
|
* #1521 reduce Docker image sizeUnknwon2015-08-251-29/+44
|
* add pam for dockercodeskyblue2015-08-171-3/+3
|
* add docker ssh supportcodeskyblue2015-08-171-19/+4
|
* add missing filecodeskyblue2015-08-171-0/+54
|
* some modify, I need to move my workenv to foreign county, network in china ↵codeskyblue2015-08-171-17/+0
| | | | is so slow.
* Adding a project-level Dockerfile & docker-compose scriptJoshua Delsman2015-03-101-0/+17