aboutsummaryrefslogtreecommitdiff
path: root/docker/build.sh
Commit message (Collapse)AuthorAge
* docker: clean up never used files (#6080)ᴜɴᴋɴᴡᴏɴ2020-04-09
|
* docker: add new Dockerfile.docker-ce for docker-ce(>=v17.06) to build docker ↵Michael Li2018-08-13
| | | | | | | | image (#5322) * add new Dockerfile.docker-ce for docker-ce(>=v17.06) to build docker image * change default Dockerfile to support docker-ce(>=v17.06) multi-stage build
* *: rename "gogits" to "gogs"Unknwon2018-05-27
|
* MISC: update docker build scriptUnknwon2018-04-09
|
* docker: allow setting UID and GID when running a container (#4776)Robert Beal2017-10-13
| | | | | | * Allow setting the UID and GID when running a docker container via shadow * Disable password login via usermod (fix leaving user in insecure state)
* docker: use vendor to replace go getUnknwon2017-03-27
|
* Provide an updated Dockerfile where Gogs is build with Go 1.8 (#4151)yaourt2017-02-18
| | | | | | In order to have an up to date Docker image based on alpine 3.5 and having Gogs built with Go 1.8 Refs: [ #4145 ]
* docker: fix scriptUnknwon2017-02-09
|
* vendor: check in vendorsUnknwon2017-02-09
| | | | Bye bye glide...
* Update docker/build.sh script to use glide & make (#3079)Jean-Philippe Roemer2016-05-11
| | | | | | | | | | | | | | | | | | | | | * 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-25
| | | | | | - 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-28
| | | | | | | | | 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-25
| | | | | | - 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-12
|
* Add `set -x` & `set -e` to docker/build.sh for better debuggingJean-Philippe Roemer2015-11-16
|
* Several bugfixes in Docker buildÓscar García Amor2015-10-02
| | | | | | | - Removed unnecessary variables - Fixed symbolic links creation - Fixed enter point - Less intermediate containers
* New approach to Gogs Docker ContainerJean-Philippe Roemer2015-10-02
- 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