versatiles-org / versatiles-rs

VersaTiles - A toolbox for converting, checking and serving map tiles in various formats.
https://versatiles.org
MIT License
57 stars 2 forks source link

Add docker scratch image #20

Closed noxiii closed 1 year ago

noxiii commented 1 year ago

Hey,

This is a scratched Dockerfile and create a 8MiB small Image. The Image includes only the Binary and a internal user for hardening of the system.

docker build -t versatiles -f ./docker/scratch.Dockerfile .

I hope that helps for faster Docker Deployments :) And thanks for the very good and small osm tile server :D

codecov[bot] commented 1 year ago

Codecov Report

Merging #20 (12e1433) into main (06a43ef) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #20   +/-   ##
=======================================
  Coverage   94.30%   94.30%           
=======================================
  Files          39       39           
  Lines        4129     4129           
=======================================
  Hits         3894     3894           
  Misses        235      235           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more