Tim Hockin
3369339a32
Change libcurl workaround to be less precise
2021-05-29 09:17:16 -07:00
Tim Hockin
71f1bce7bd
Downgrade libcurl to avoid HTTP bug
2021-05-27 10:17:38 -07:00
Tim Hockin
b8c2e1a03d
Dockerfile: apt install with --no-install-recommends
2021-05-27 10:01:35 -07:00
Tim Hockin
121999d92c
Dockerfile: use apt-get (more stable)
2021-05-27 09:59:34 -07:00
Tim Hockin
a93350aa8f
Dockerfile: use multi-stage for cleaner result
2021-05-27 09:56:11 -07:00
Tim Hockin
258248aadc
Copy all licenses into the container image
2021-03-29 16:41:57 -07:00
Tim Hockin
aaba35def9
Update git from backports
...
Some bugs have been fixed that impact some users.
2021-03-11 19:17:04 -08:00
Tim Hockin
e7806f577f
Default --root flag in container
...
This makes the container easier to use and allows docker volumes to be
used in a more obvious way.
2021-01-21 12:32:51 -08:00
David Karlsen
48c7b9aa02
add socat to image to allow for proxying. #279
...
Signed-off-by: David Karlsen <david@davidkarlsen.com>
2020-09-06 18:59:05 +02:00
Aneesh Joseph
5e19658708
use uid,gid instead of username and groupname
2020-05-03 09:35:00 +05:30
Tim Hockin
d507f43105
Build updates
...
Move to go 1.14
Explicitly apt-get update when building
2020-05-01 14:58:00 -07:00
Tim Hockin
5154ace66d
Add --add-user to write UID/GID to passwd
2020-01-03 16:16:15 -08:00
Tim Hockin
2a42fba009
Handle running as pid 1
...
This detects when it is running as pid 1, and becomes an init process.
Specifically this means handling SIGCHLD and reaping processes
(otherwise they become zombies) and forwarding signals to "real"
process.
We fork and re-exec ourselves so that we only get *this* SIGCHLD for
orphaned processes (re-parented to 1) and not the real events from
running things like git or ssh.
2019-10-27 09:45:27 -07:00
Tim Hockin
98022e4fe8
Don't rebuild the base layers when not needed
2019-10-25 21:00:02 -07:00
Tim Hockin
653bd85fc6
Use debian-base as base image
...
All of the main Kubernetes components are switching to it, since we can
maintain it more easily.
2019-03-11 17:16:53 -07:00
Tim Hockin
51f19b81c9
Fix SSH
...
* Create a git-sync user to run as, with an entry in /etc/passwd and
writable homedir
* Remove our own validation of key perms - let SSH do that.
* Update docs,
2019-02-07 16:32:01 -08:00
Tim Hockin
ada75e9c6c
Build a manifest list
...
Retool some of the build/test to produce a manifest-list rather than a
single image.
2018-11-09 14:20:23 -08:00
Tim Hockin
aafbc9a12b
Set $HOME so git can write .gitconfig as non-root
2018-07-03 15:00:11 -07:00
Frank Farzan
c9f2e62ed3
Don't set GIT_SYNC_DEST in Dockerfile.
...
I'm guessing this is an artifact of previous refactorings.
Currently, GIT_SYNC_ROOT defaults to /git and GIT_SYNC_DEST
defaults to leaf dir of repo.
2018-02-05 19:21:13 -08:00
Michael Grosser
cb9851e1b5
Revert "Update copyright notice"
...
This reverts commit b647219b69 .
2017-03-22 04:25:39 +00:00
Michael Grosser
b647219b69
Update copyright notice
2017-03-22 04:23:08 +00:00
ideahitme
b8cc35f4fc
clean up Dockerfile, remove ssh-wrapper.sh and set env var
2017-01-26 19:04:24 +01:00
Tim Hockin
70feeb5ae1
Use the go-build-template
...
Faster builds and versions from tags. Also use alpine as a base image. We
need alpine for other architectures...
Also change the --wait flag to take a float for sub-second waits.
2016-10-30 17:09:06 -07:00