aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile.rpi
Commit message (Collapse)AuthorAge
* Use go-bindata to embed `public` and `templates` files into binary (#5920)Michael Li2020-02-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixed private repositories are hidden in the organization's view * use go-bindata integrate public and templates files to gogs binary * optimize Dockerfile don't COPY public and templates files * use kevinburke's go-bindata to generate assets code * reset develepment as default run mode in configure file * optimize generated assets code relayout and help function * fixed code format * Update conf/app.ini * assets: add LICENSE headers * Some housekeeping * assets/public: simplify code logic * assets/templates: simplify code logic * cmd/web: more concise variable names * Minor changes * Add custom public and templates support back Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
* Dockerfile: always use alpine:latest (#5714)unknwon2019-08-10
|
* dockerfile: add rsync (#5773)Pablo Alcantara2019-08-06
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add rsync to docker. Add rsync to docker. Rsync is nearly a necessity to optimize backup inside Openshift container. Using TAR (default without Rsync), the process of external backup constantly stops at the middle. * Add rsync to docker Add rsync to docker. Rsync is nearly a necessity to optimize backup inside Openshift container. Using TAR (default without Rsync), the process of external backup constantly stops at the middle. * Add rsync to docker Add rsync to docker. Rsync is nearly a necessity to optimize backup inside Openshift container. Using TAR (default without Rsync), the process of external backup constantly stops at the middle. * Add rsync to docker Add rsync to docker. Rsync is nearly a necessity to optimize backup inside Openshift container. Using TAR (default without Rsync), the process of external backup constantly stops at the middle.
* 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: update Dockerfile for Raspberry Pi (#4185)Kyle Filz2017-02-24
|
* docker: Support timezones (#3262)Andrey Arapov2016-07-15
|
* 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.rpi to better match Dockerfile:Jean-Philippe Roemer2016-01-28
| | | | | - Dockerfile.rpi now uses hypriot/rpi-alpine-scratch as base (build script are available w/ a better maintainer & more updates) - Dockerfile.rpi updates alpine from v3.2 to v3.3 to be on par with 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
* Update s6 path in Dockerfile.rpiGregor Gramlich2016-01-02
| | | | Apply the change from https://github.com/gogits/gogs/commit/0cbf56855aad82ff49952132287a0112f308c728 to the Dockerfile.rpi as well
* Dockerfile for RaspberryPi is added.Emrah URHAN2015-11-22