All Projects → chemidy → Smallest Secured Golang Docker Image

chemidy / Smallest Secured Golang Docker Image

Create the smallest and secured golang docker image based on scratch

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Smallest Secured Golang Docker Image

Mvvm C Templates
Templates for MVVM-C architecture
Stars: ✭ 27 (-88.21%)
Mutual labels:  makefile, hacktoberfest
Packages
Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
Stars: ✭ 2,957 (+1191.27%)
Mutual labels:  makefile, hacktoberfest
Docs
CakePHP CookBook
Stars: ✭ 653 (+185.15%)
Mutual labels:  makefile, hacktoberfest
Monero Gui Guide
Guide for the Monero GUI wallet
Stars: ✭ 36 (-84.28%)
Mutual labels:  makefile, hacktoberfest
Wiki
Archive of free60.org mediawiki
Stars: ✭ 83 (-63.76%)
Mutual labels:  makefile, hacktoberfest
Operating System
🔰 Home Assistant Operating System
Stars: ✭ 1,920 (+738.43%)
Mutual labels:  makefile, hacktoberfest
Libreelec.tv
Just enough OS for KODI
Stars: ✭ 1,358 (+493.01%)
Mutual labels:  makefile, hacktoberfest
Jumpdrive
Flash/Rescue SD Card image for PinePhone and PineTab
Stars: ✭ 217 (-5.24%)
Mutual labels:  makefile, hacktoberfest
Reactive Resume
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Stars: ✭ 3,280 (+1332.31%)
Mutual labels:  hacktoberfest
Python Telegram Bot
We have made you a wrapper you can't refuse
Stars: ✭ 17,209 (+7414.85%)
Mutual labels:  hacktoberfest
Ddnet
DDraceNetwork, a cooperative racing mod of Teeworlds
Stars: ✭ 225 (-1.75%)
Mutual labels:  hacktoberfest
Ferdi
🧔🏽 Ferdi helps you organize how you use your favourite apps by combining them into one application
Stars: ✭ 4,089 (+1685.59%)
Mutual labels:  hacktoberfest
Roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
Stars: ✭ 15,296 (+6579.48%)
Mutual labels:  hacktoberfest
Docs
The open-source repo for docs.github.com
Stars: ✭ 7,564 (+3203.06%)
Mutual labels:  hacktoberfest
Django Sockpuppet
Build reactive applications with the django tooling you already know and love.
Stars: ✭ 225 (-1.75%)
Mutual labels:  hacktoberfest
Ember Service Worker
A pluggable approach to Service Workers for Ember.js
Stars: ✭ 227 (-0.87%)
Mutual labels:  hacktoberfest
Esp Idf Template
Template application for https://github.com/espressif/esp-idf
Stars: ✭ 227 (-0.87%)
Mutual labels:  makefile
Joshuto
ranger-like terminal file manager written in Rust
Stars: ✭ 224 (-2.18%)
Mutual labels:  hacktoberfest
Archie
A minimal Hugo Theme
Stars: ✭ 226 (-1.31%)
Mutual labels:  hacktoberfest
Bypass Paywalls Chrome
Bypass Paywalls web browser extension for Chrome and Firefox.
Stars: ✭ 20,876 (+9016.16%)
Mutual labels:  hacktoberfest

Create the smallest secured golang docker image based on scratch or distroless

Read the related article : Create the smallest and secured golang docker image based on scratch or distroless

✓ usage: make [target]

build-distroless-static        - Build the smallest and secured golang docker image based on distroless static
build-distroless               - Build the smallest and secured golang docker image based on distroless
build-module                   - Build the smallest and secured golang docker image based on scratch
build-no-cache                 - Build the smallest and secured golang docker image based on scratch with no cache
build                          - Build the smallest and secured golang docker image based on scratch
deploy-to-gcp                  - deploy docker image to gcp cloud run
docker-pull                    - docker pull latest images
help                           - Show help message
ls                             - List 'smallest-secured-golang' docker images
push-to-aws                    - Push docker image to AWS Elastic Container Registry
push-to-azure                  - Push docker image to azurecr.io Container Registry
push-to-gcp                    - Push docker image to gcr.io Container Registry
run                            - Run the smallest and secured golang docker image based on scratch
scan                           - Scan for known vulnerabilities the smallest and secured golang docker image based on scratch

Quickstart

make build && make run

Pushing to AWS Elastic Container Registry

One of AWS ECR pain points is that you can only have one image per repository. However, each repository can have multiple versions of the same image. You will first need to create the repository in ECR, either from the console or from the command line.

The commands in the makefile assumes you have AWS cli properly configured. Either by having the following environment variables defined: AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY. Or by having run the aws configure command beforehand.

Two variables have a default value assigned: AWS_REGION and AWS_ACCOUNT_NUMBER. The AWS_ACCOUNT_NUMBER is a 12-digit number. Please see the official documentation if you need to find out your account number.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].