Sign inSign up

koakh/koakh-alpine-tools

By koakh

•Updated over 6 years ago

Image
0

225

koakh/koakh-alpine-tools repository overview

⁠Dockerfile

FROM alpine:3.7

RUN apk add --no-cache iputils curl openssh-client tcpdump mc screen nano

ENTRYPOINT ["/bin/sh"]

⁠Build and Push

# build and tag
$ IMAGE=koakh/koakh-alpine-tools
$ USER=koakh
$ docker build -t ${IMAGE} .
$ docker login -u ${USER}
$ docker push ${IMAGE}

⁠Play with container

# run container using default entrypoint
$ docker run -it --rm ${IMAGE}

⁠With docker compose

docker-compose.yml

version: '2'

services:    
  tools:
    image: koakh/koakh-alpine-tools
    container_name: alpine-tools
    restart: unless-stopped
    # override entrypoint to force container run infinity
    entrypoint: ["tail", "-f", "/dev/null"]
$ docker-compose up
$ docker exec -it alpine-tools sh

Tag summary

Content type

Image

Digest

Size

8.2 MB

Last updated

over 6 years ago

docker pull koakh/koakh-alpine-tools