1
0
mirror of https://github.com/lus/pasty.git synced 2023-08-10 21:13:09 +03:00
Commit Graph

6 Commits

Author SHA1 Message Date
Baalaji
1d2e42b737
docker: Switch to distroless (#43)
* docker: Use distroless

Much slimmer, way lesser attack surface

Signed-off-by: baalajimaestro <me@baalajimaestro.me>

* docker: Disable CGO

Isnt needed by our code, and breaks distroless

Signed-off-by: baalajimaestro <me@baalajimaestro.me>

* Uprev mongodb driver

Signed-off-by: baalajimaestro <me@baalajimaestro.me>

* tidy go module

Co-authored-by: Lukas Schulte Pelkum <kbrt@protonmail.com>
2022-04-18 20:06:36 +02:00
Baalaji
befc9615d5
docker: Expose 8080 from dockerfile (#30)
This helps service discovery on traefik, which uses the exposed port to determine where to reverse proxy to

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2021-12-19 13:24:53 +01:00
Lukas Schulte Pelkum
239ad901dd
Implement GitHub actions CI 2021-04-18 21:31:07 +02:00
Lukas Schulte Pelkum
de2add44ec
Bump to Go 1.16 2021-04-15 19:26:17 +02:00
Lukas SP
71e6baad95 Add GCC to Dockerfile (cgo) 2020-08-28 19:56:26 +02:00
Lukas SP
d70251a4fb Dockerize the application 2020-08-23 21:05:20 +02:00