Sign inSign up

sensedia/linux-base

By sensedia

Updated about 1 month ago

Image
0

10K+

sensedia/linux-base repository overview

linux-base

Informations

This base image is used for some applications.

Build and Test Docker Image Locally

Commands to build image:

cd docker-images-base/linux-base

VERSION=1.0

docker build -f Dockerfile -t sensedia/linux-base:$VERSION .

Commands to run container:

docker run -it --rm sensedia/linux-base:$VERSION sh

Scan of vulnerabilities with Trivy

Run the command to verify vulnerabilities.

mkdir /tmp/caches;
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v /tmp/caches:/root/.cache/ aquasec/trivy image sensedia/linux-base:$VERSION

Send Docker Image to Docker Hub

Command to auth Docker Hub account of Sensedia:

docker login -u sensedia -p PASSWORD

Create tag to the remote repository:

docker tag sensedia/linux-base:$VERSION sensedia/linux-base:latest

Send images do Docker Registry remote.

docker push sensedia/linux-base:$VERSION
docker push sensedia/linux-base:latest

The new image will be published in https://hub.docker.com/r/sensedia/linux-base/.

Reference:

Tag summary

Content type

Image

Digest

sha256:d3da20f69

Size

11.2 MB

Last updated

about 1 month ago

docker pull sensedia/linux-base