summaryrefslogtreecommitdiffstats
path: root/docker/build.sh
Commit message (Collapse)AuthorAgeFilesLines
* Restructured docker buildingThomas Boerger2016-11-281-36/+0
| | | | | | | | | 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
* Change import reference to match gitea instead of gogs (#37)Rémy Boulanouar2016-11-031-2/+2
|
* Update docker/build.sh script to use glide & make (#3079)Jean-Philippe Roemer2016-05-111-6/+15
| | | | | | | | | | | | | | | | | | | | | * 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 Dockerfile to update alpine to v3.3 & fix virtual package and ↵Jean-Philippe Roemer2016-01-281-1/+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-2/+2
| | | | | | - 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
* prepare releaseUnknwon2015-12-121-2/+2
|
* Add `set -x` & `set -e` to docker/build.sh for better debuggingJean-Philippe Roemer2015-11-161-0/+2
|
* Several bugfixes in Docker buildÓscar García Amor2015-10-021-0/+8
| | | | | | | - Removed unnecessary variables - Fixed symbolic links creation - Fixed enter point - Less intermediate containers
* New approach to Gogs Docker ContainerJean-Philippe Roemer2015-10-021-0/+17
- 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