summaryrefslogtreecommitdiffstats
path: root/docker
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add logging when socat link creation is deactivatedJean-Philippe Roemer2015-11-041-3/+5
|
* Fix typo & cleanup start.sh codeJean-Philippe Roemer2015-11-041-17/+26
|
* Add syslog & fix `/data/git` rights & SOCAT_LINK env varJean-Philippe Roemer2015-11-044-19/+33
| | | | | | | - Resolve #1893 - Add syslogd to output sshd log on stdout (via `docker logs`) - Enforce directory rights on `/data/git`, `/data/gogs` & `/data/ssh` - Add `SOCAT_LINK` environment variable to prevent the creation of scout links when they are not needed (see #1815)
* Docker socat link: default port fixJean-Philippe Roemer2015-10-211-1/+1
| | | | | - Remove port 80 & 443 unused by the container - Add port 3000 used by gogs application
* Docker `socat` link creationJean-Philippe Roemer2015-10-211-6/+18
| | | | | | | - `start.sh` will now verify that the port is not already used by another service - Resolve #1807 - Log when a service is created, or could not be created - Keep track of which port is already used, including goes & sshd port
* fix typo in README for DockerLimian Wang2015-10-131-1/+1
|
* Fix bug introduced in #1759 preventing ssh server to launchJean-Philippe Roemer2015-10-121-5/+5
| | | | | | | - ssh/setup: test directive now check if a file exist in key path instead of a folder - ssh/setup script was hanging waiting for an input about rewriting the key as the test case was returning true, when it should have been false (check if file is a folder instead of a file)
* Edit comment to make it clear that we are talking about container versionJean-Philippe Roemer2015-10-121-1/+1
|
* Docker repository path backward compatibility fix:Jean-Philippe Roemer2015-10-121-0/+4
| | | | | - resolve #1765 - create link to old git repository path: `/home/git/gogs-repository`
* Volumed data setup changed to allow #1759Jean-Philippe Roemer2015-10-123-9/+26
| | | | | | | | | - Volumed subfolder now created up in the ENTRYPOINT script, this way they are created before S6 even starts making VOLUME. - The subfolder will be created during VOLUME creation too as ENTRYPOINT script will be run before /bin/true - SSH Keys will now be created on a single key basis not replying on the existence of /data/ssh folder
* Docker Container Restart FixJean-Philippe Roemer2015-10-102-4/+12
| | | | | - Fix s6 fifodir error on container restart - Add .tags* to .gitignore (Atom auto ctags generation)
* Remove fixed issueJean-Philippe Roemer2015-10-021-1/+0
|
* Docker Container: Init 1 & InitialisationJean-Philippe Roemer2015-10-026-36/+53
| | | | | | | | | | | - 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
* Merge pull request #1731 from ogarcia/develop无闻2015-10-022-8/+14
|\ | | | | Several bugfixes in Docker build
| * Several bugfixes in Docker buildÓscar García Amor2015-10-022-8/+14
| | | | | | | | | | | | | | - Removed unnecessary variables - Fixed symbolic links creation - Fixed enter point - Less intermediate containers
* | Update Docker README for #1708Unknwon2015-10-021-15/+12
|/
* Use app/docker folder for SSH ConfigureationJean-Philippe Roemer2015-10-021-1/+1
|
* New approach to Gogs Docker ContainerJean-Philippe Roemer2015-10-026-43/+91
| | | | | | | | | - 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
* #1665 improve docsUnknwon2015-09-211-1/+1
|
* #1665 improve Docker docsUnknwon2015-09-211-1/+1
|