GithubHelp home page GithubHelp logo

starlightromero / dockle-lint Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 104 KB

Golang app focusing on building a secure Dockerfile via linting, SCA scanning, SemVer versioning, and using Docker linting/securing scanning in a CI/CD pipeline

Dockerfile 25.72% Makefile 26.95% Go 47.33%
docker docker-compose dockerignore semver tutorial golang echo echo-framework echo-server versioning docker-linting linting cicd cicd-pipeline github-actions

dockle-lint's Introduction

Dockle Lint

This application serves to showcase Docker linting via CI/CD pipeline. The app is a simple API that has one route. A GET request to the / route will make an API call to in order to get the user's IP address, ISP, and location data, including the user's latitude and longitude to the millionth decimal place. All this data will be returned.

If you want to download the code and try it out yourself, you will need to sign up for a free API key from:

https://geo.ipify.org/

Software Required

  • docker
  • docker-compose
  • make

How to Run

Clone the repo

git clone [email protected]:starlightromero/dockle-lint.git

cd into the directory

cd dockle-lint

Rename .env.sample to .env

mv .env.sample .env

Edit the .env file to contain your API Key

vim .env

Run the application!

Makefile Commands

build: Build app

start: Start app at port 8080

build-compose: Build app with docker-compose

start-compose: Start app with docker-compose

stop-compose: Stop app with docker-compose

dockle-lint's People

Contributors

starlightromero avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.