aboutsummaryrefslogtreecommitdiff
path: root/.dockerignore
AgeCommit message (Collapse)Author
2022-11-10Add .dockerignore (#21753)Jason Song
There's a lot of work that has been done on `.dockerignore`: - #329 - #2927 - #8338 And finally, it has been deleted by #2927. This is a copy of the `.gitignore`. Creating a soft link is more elegant, but it may cause trouble to the Windows users.
2018-03-12Docker multi-stage (#2927)Antoine GIRARD
* 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
2016-12-01Bug fixed for .dockerignore (#329)Lunny Xiao
* bug fixed for .dockerignore * clean up
2016-11-28Restructured docker buildingThomas Boerger
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>
2016-05-11Update docker/build.sh script to use glide & make (#3079)Jean-Philippe Roemer
* 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>
2016-02-25Update .dockerignore to add new unneeded files from the Docker ContextJean-Philippe Roemer
2015-10-02Docker Container: Init 1 & InitialisationJean-Philippe Roemer
- 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
2015-10-02New approach to Gogs Docker ContainerJean-Philippe Roemer
- 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
2015-08-25#1521 reduce Docker image sizeUnknwon