summaryrefslogtreecommitdiffstats
path: root/Dockerfile.rpi
Commit message (Collapse)AuthorAgeFilesLines
* Realy don't cache apk indexDaniel Wendler (@cassandra)2017-05-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | Actualy the "-U --no-cache" effectivly is treated as --no-cache was never specified: / # apk -U --no-cache add sed fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/community/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/community/x86_64/APKINDEX.tar.gz (1/1) Installing sed (4.2.2-r0) Executing busybox-1.25.1-r0.trigger OK: 4 MiB in 12 packages / # ls -la /var/cache/apk/ total 1004 drwxr-xr-x 1 root root 70 May 8 11:08 . drwxr-xr-x 1 root root 29 Mar 3 11:20 .. -rw-r--r-- 1 root root 732807 May 5 07:11 APKINDEX.c51f8f92.tar.gz -rw-r--r-- 1 root root 293014 May 1 12:37 APKINDEX.d09172fd.tar.gz So removing the "-U" fix this behavior.
* Upgrade alpine to v3.5 in Dockerfile (#1633)Peter Dave Hello2017-05-051-1/+1
|
* Refactor DockerfilePeter Dave Hello2017-04-291-6/+3
| | | | | | | | 1. Use `apk -U --no-cache add` instead of `apk update` + `apk add` + manually cache clean up. 2. Separate package installation and user, group setup, the combination to reduce a docker image layer didn't bring benefits here, only makes Dockerfiles more complex.
* Apply dockerfile updates to raspberry dockerfile (#548)Bastian Rinsche2017-01-011-4/+2
|
* Copy gitea binary to docker from correct path (#325)Thomas Boerger2016-12-011-1/+1
| | | Signed-off-by: Thomas Boerger <tboerger@suse.de>
* Added -S flag to addgroup command within DockerfilesThomas Boerger2016-11-281-1/+1
|
* Replaced edge with 3.4 for the alpine base imageThomas Boerger2016-11-281-1/+1
|
* Replaced shadow with addgroup and adduserThomas Boerger2016-11-281-8/+5
|
* Use su-exec instead of gosu, much smallerThomas Boerger2016-11-281-3/+3
|
* Restructured docker buildingThomas Boerger2016-11-281-20/+42
| | | | | | | | | 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-071-1/+1
| | | | | | | | | | | | 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
* docker: Support timezones (#3262)Andrey Arapov2016-07-151-1/+1
|
* Update docker/build.sh script to use glide & make (#3079)Jean-Philippe Roemer2016-05-111-1/+1
| | | | | | | | | | | | | | | | | | | | | * 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-251-6/+5
| | | | | | - 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-281-2/+3
| | | | | - 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-281-2/+2
| | | | | | | | | 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-251-1/+4
| | | | | | - 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-021-1/+1
| | | | 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-221-0/+22