| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
| |
Fixes #6167
|
| |
|
| |
|
| |
|
|
|
| |
This reverts commit f3b05961aae82fa3e19c47f03c78974cf793fda3.
|
| |
|
|
|
|
|
| |
* Fix the bug of using root account to create /data directory
* Fix the bug that sshkey cannot be added in the container and remove unnecessary chown.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Create golint.yml
* Update golint.yml
* Update golint.yml
* Fix errcheck
* Fix gosimple
* Fix staticcheck
|
|
|
|
| |
[CI SKIP]
|
|
|
|
| |
[CI SKIP]
|
|
|
|
| |
[CI SKIP]
|
|
|
|
|
|
| |
* Use lazyregexp
* all: fix imports and usages
|
|
|
|
|
|
|
|
| |
When running gogs after the first time, if the image has changed (update
rebuild), the /app/gogs directory will have changed owner back to
root:root, but /data will likely not be since the data directories are
likely to be persistent.
Checking /app/gogs separately fixes this.
|
|
|
|
| |
[CI SKIP]
|
| |
|
|
|
| |
The chown command in the setup file of Gogs is supposed to be executed just once. As soon as the app.ini file exists, this step should be skipped. However, the test was checking if a directory with the name app.ini exists instead of a file. Therefore, the chown command was executed on each boot.
|
|
|
| |
This line has been removed in respect to the OpenSSH spec update with Version 7.5 (https://www.openssh.com/txt/release-7.5)
|
| |
|
| |
|
|
|
|
| |
This reverts commit 068e6ce2c995445f0ce1c10ee11816600b12a5fd.
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Enable Automated builds for aarch64
* Native aarch64 build
* Move to the new organization
* Try to build it with latest go binary
* Rebuild using Go 1.10
|
|
|
|
|
|
| |
* Prevent circular links (symlinks) from being created:
* /data/gogs/log/log -> /data/gogs/log
* /data/gogs/data/data -> /data/gogs/data
* /data/git/git -> /data/git
|
|
|
|
|
|
| |
* Allow setting the UID and GID when running a docker container via shadow
* Disable password login via usermod (fix leaving user in insecure state)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Enable Automated builds for rpi
* Rename the file to fit only for Docker Hub
* Update the binary to v2.9.0+resin1
* Restore default status
* Commit as new file
In order to avoid breaking native builds
|
|
|
| |
The unicode non-breaking space character was breaking the heading format; this switches that character for an ASCII space.
|
| |
|
| |
|
|
|
|
|
|
| |
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 ]
|
| |
|
| |
|
|
|
|
| |
Bye bye glide...
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
| |
- Created a Container options section in `docker/README.md`
- Add documentation for SOCAT_LINK
- Move CROND documentation to the new section
|
| |
|
|
|
| |
minor grammar fix
|
| |
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
|
|
| |
- 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
|