summaryrefslogtreecommitdiffstats
path: root/docker
Commit message (Collapse)AuthorAgeFilesLines
* Disable auto-migrate in docker container (#5730)techknowlogick2019-01-171-6/+0
|
* docker: stop modifying file permission before migrating database (#5707)Julian2019-01-121-1/+0
|
* migrate database if app.ini found (#5290)Pierre-Alexis Ciavaldini2019-01-051-0/+15
| | | | | | | | * migrate database if app.ini found * replacing hard-coded user id by env variable * Update per @zeripath's feedback
* Fix bug on modifying sshd username (#5624)Moshi Binyamini2019-01-021-1/+1
| | | Should fix #5623
* add git protocol v2 support via SSH on Docker image (#5520)Lunny Xiao2018-12-111-0/+2
| | | | | | * add git protocol v2 support via SSH on Docker image * remove new layer on dockerfile
* only chown directories during docker setup if necessary. Fix #4425 (#5064)Fabian Braun2018-10-301-1/+4
| | | Signed-off-by: Fabian Braun <fabian-braun@mailbox.org>
* Update build tags for sqlite_unlock_notify (#5144)Mura Li2018-10-231-1/+1
|
* Remove UsePrivilegeSeparation from the Docker sshd_config, see #2876 (#4722)Andrew Phillips2018-08-161-1/+0
| | | Signed-off-by: Andrew Phillips <theasp@gmail.com>
* Add missing path in the Docker app.ini template (#2181)Tao Wang2018-07-031-0/+7
|
* Remove call to update certs (#4296)techknowlogick2018-06-211-2/+0
|
* Add Environment Variables to Docker template (#4012)Fluf2018-05-232-0/+6
| | | | | | | | | | | | * Add disable registration as an environment variable for docker * Add REQUIRE_SIGNIN_VIEW as env var to docker * Add variables to template * Update docker docs
* Allow Gitea to run as different USER in Docker (#3961)techknowlogick2018-05-163-2/+9
| | | | | | | | | | | | * If using a different $USER then rename git user * Chown based on $USER env * Target only one part of passwd * su-exec based on $USER not a hardcoded value
* Update certificates to enable self-signed certs (#3708)Jone Marius Vignes2018-03-251-0/+2
| | | | | | | | | | | | | Why: * We are using self-signed ssl certificates for internal services, which results in failures when gitea tries to communicate through webhooks with these. We would like to enable gitea to be able to use these certificates without having to build custom docker images. How * We add the internal certificates to /usr/local/share/ca-certificates on the host * We read-only mount /usr/local/share/ca-certificates from the host to /usr/local/share/ca-certificates in the container * We do a update-ca-certificates in the alpine container before starting gitea This should have no consequence for users that do not have the need to handle self-signed certificates, as update-ca-certificates should be idempotent.
* Docker multi-stage (#2927)Antoine GIRARD2018-03-121-1/+5
| | | | | | | | | | | | * Setup docker multi-stage and little sugar at it * Make codacy happy ? * Revert back to what the official docker documentation suggest Codacy don't seems to follow https://docs.docker.com/engine/reference/builder/#maintainer-deprecated * Update golang version
* Enable content trust when building image (#2972)Piotr Orzechowski2017-12-031-1/+1
|
* Docker multi-arch base (#1985)Antoine GIRARD2017-11-161-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Create docker/manifest/base.yml serve as base for build docker image for most platform (386,amd64,arm,arm64) * Add make task docker-multi-arch-push-manifest To update references of a multi-arch image on docker registry. * Use SED_INPLACE generic sed command * Delete Dockerfile.aarch64 Delete Dockerfile.rpi * Use gitea/gitea-base as base and replace deprecated MAINTAINER by LABEL (https://docs.docker.com/engine/reference/builder/#maintainer-deprecated) * Fix rebase * Use sapk/gitea-base as base * Split makefile for docker * Fix version to v3.6 Could use in later version edge of alpine official library that support multi-arch for armhf. * Remove sapk/gitea-base and use directly new official alpine multi-arch
* Launch Gitea with custom UID/GID for 'git' user (fixes #2286) (#2791)Henrik Bengtsson2017-11-051-0/+11
|
* Fix ordering in app.ini and fix run mode option (#2829)Morlinest2017-11-022-3/+4
|
* Add environment variable support for Docker image (#2201)Tao Wang2017-10-312-2/+39
| | | | | | | | | | * Add `gettext` dependencies as we need `envsubst` command; * Modified s6's gitea setup script, instead of `cp` the template if no `app.ini` exist, it will substitude the envvars and generate the new `app.ini`; * Make `/docker/etc/templates/app.ini` a template contains environment variables; Signed-off-by: Tao Wang <twang2218@gmail.com>
* Use sqlite3 database as default for Docker image (#2182)Tao Wang2017-07-261-1/+1
| | | Signed-off-by: Tao Wang <twang2218@gmail.com>
* Fixing multiple docker issues (#386)Thomas Boerger2016-12-152-2/+1
| | | | | | | | | | | | * 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
* Use su-exec instead of gosu, much smallerThomas Boerger2016-11-283-3/+3
|
* Restructured docker buildingThomas Boerger2016-11-2826-300/+134
| | | | | | | | | 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-072-2/+2
| | | | | | | | | | | | 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
|
* Replace gogs.io http links with https version (#3386)rugk2016-08-051-1/+1
|
* Update Docker READMEUnknwon2016-07-151-1/+1
|
* 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>
* docker: update documentation for container options (#2965)Jean-Philippe Roemer2016-04-121-3/+21
| | | | | - Created a Container options section in `docker/README.md` - Add documentation for SOCAT_LINK - Move CROND documentation to the new section
* #2878 print error of JSON unmarshal and always returns a valid objectUnknwon2016-03-261-0/+2
|
* update README.mdMike2016-02-281-3/+3
| | | minor grammar fix
* Minor fix for #2710Unknwon2016-02-271-1/+1
|
* Update Docker REAMDE.mdJean-Philippe Roemer2016-02-261-1/+1
| | | | | - Remove the known issue about `.dockerignore` being ignored during DockerHub automated build as this has been fixed - Added a note on the fact that we currently do no support building the container on RPi1
* 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
* Minor docs update for #2605Unknwon2016-02-121-1/+7
|
* Add the ability to run crond inside the Docker containerJean-Philippe Roemer2016-02-123-0/+18
| | | | | | | | - Add the crond init script for s6 - Add the RUN_CROND configuration variable to setup crond - Crond will not be run by default (hence the `down` file in the service directory) - `start.sh` check if RUN_CROND = "true" || "1" and remove this file to tell s6 to run the initscript - Resolves #2597
* Merge pull request #2573 from prologic/add-note-wrt-ssh-on-docker#2409Unknwon2016-02-061-0/+2
|\ | | | | Add an important note about mapping the ssh port on the container to the host
| * Add an important note about mapping the ssh port on the container to the hostJames Mills2016-01-191-0/+2
| |
* | 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
* | Merge pull request #2446 from jgsqware/developUnknwon2016-01-261-0/+9
|\ \ | | | | | | Add Docker Volume from 1.9
| * | Add Docker Volume from 1.9juliengarcia2016-01-201-0/+9
| |/
* / Update Dockerfile & build script and add /etc/nsswitch.conf:Jean-Philippe Roemer2016-01-252-2/+18
|/ | | | | | - 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
* Remove RSA1 keys as only SSH version 2 is usedIvan Marban2016-01-062-5/+0
|
* #1692 add organization APIsUnknwon2015-12-171-1/+1
|
* prepare releaseUnknwon2015-12-121-2/+2
|
* #2155 The owner has reached maximum creation limit of 0 repositoriesUnknwon2015-12-111-1/+1
|
* add quay.io as another Docker optionUnknwon2015-12-071-1/+1
|
* fix #1829 and fix #890Unknwon2015-12-041-1/+0
|
* Add `set -x` & `set -e` to docker/build.sh for better debuggingJean-Philippe Roemer2015-11-161-0/+2
|
* Update s6 path following package updateJean-Philippe Roemer2015-11-161-1/+1
|