segmentio / stats

Go package for abstracting stats collection
https://godoc.org/github.com/segmentio/stats
MIT License
208 stars 32 forks source link

[Drydock] Automated Docker Patch Request 11.5.2020 #119

Closed securityclippy closed 4 years ago

securityclippy commented 4 years ago

:whale: This is an automatically generated PR. :whale:

This PR should work out of the box in most situations. However, you should test and modify as needed just like any other code change.

This PR attempts to automatically upgrade this repository and its associated Dockerfile to follow best security and build practices.

Legend :white_check_mark: = great, you've got it covered! :stop_sign: = uh oh. This needs to be fixed!

For additional help, please visit the #docker channel in slack!

Repository Best Practice Checks

Check Pass/Fail Notes
Ignores Git History :stop_sign:

Dockerfile Best Practice Checks

Detected Language: golang

Check Pass/Fail Notes
Uses Approved Base Image :stop_sign: current: golang:alpine
desired: scratch
Uses Approved Builder Image :stop_sign: current: golang:alpine
desired: golang:1.14-alpine
Uses Multi Stage Build :stop_sign:
Uses Scratch Image :stop_sign: Current:
desired: scratch

Language Specific Dockerfile Choices

Because all projects tend to be built slightly differently, some assumptions and generalizations have been made about how to build in each language. It is assumed that if these choices do not work for your project, you know enough to make decisions about what the settings should be.

Go

Node

jnjackins commented 4 years ago

https://github.com/segmentio/stats/pull/121