Commit Graph

15 Commits (931d0cf854afc06a4d3d3dc3277d2f383efd3423)

Author SHA1 Message Date
wxiaoguang 6e2c64f27a
Fix docker rootless build ()
zeripath 0277603878
chmod executables when copying to the docker ()
Run chmod on the executables and the entrypoint when copying them to the
docker in dockerfile.

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Norwin <noerw@users.noreply.github.com>
Co-authored-by: delvh <dev.lh@web.de>
techknowlogick 274aeb3a9e
build with go1.17 ()
Co-authored-by: Lauris BH <lauris@nix.lv>
techknowlogick 7b31aae414
revert to use alpine 3.13 ()
Co-authored-by: zeripath <art27@cantab.net>
Jonathan Hult 615444dcbd
Fix - rootless Docker user ()
Move comment to top of USER instruction
Tobias Florek 5e819ee1de
specify user in rootless container numerically ()
* specify user in rootless container numerically

With kubernetes' PodSecurityPolicy set to runAsNonRoot it will not allow starting the container.  The error message is
```
Error: container has runAsNonRoot and image has non-numeric user (git), cannot verify user is non-root
```
The `USER` directive has to be numerical for that to work.

* mention the name of the uid/gid

Co-authored-by: 6543 <6543@obermui.de>
techknowlogick 061a8e7bb9
Alpine 3.14 released ()
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: zeripath <art27@cantab.net>
Steven 683cfe39ef
Change default TMPDIR path in rootless containers ()
Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
Steven d6d2444f2a
Add curl to rootless docker image ()
Signed-off-by: JustusBunsi <61625851+justusbunsi@users.noreply.github.com>

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Martin Michaelis d576126286
Remove random password in Dockerfiles ()
* Remove random password of git user in dockerfile

* Disable git user account in rootless dockerfile
techknowlogick 47f6a4ec3f
go1.16 ()
Kyle D 61f347e349
Add environment-to-ini to docker image ()
* Add environment-to-app.ini routine

* Call environment-to-ini in docker setup scripts

* Automatically convert section vars to lower case to match documentation

* Remove git patch instructions

* Add env variable documentation to Install Docker
techknowlogick b708968694
upgrade to alpine 3.13 ()
Lauris BH 8c2b5feeae
When building rootless docker image move chown&chmod to build stage ()
* When building rootless docker image move chown&chmod to build stage

Fixes 

* Fix command newlines

* Move chown to COPY command

* Seems to be working also without chmod

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Antoine GIRARD fe458ce877
docker: rootless image ()
* docker: rootless image

* improve docs + remove check for write perm on custom

* add more info on ssh passtrough

* Add comment for internal ssh server in container config