Sign inSign up

theidledeveloper/busybox-sleep

By theidledeveloper

•Updated about 1 year ago

Minimal busybox image (1 change) with a sleep cmd override (1 hour).

Image
0

10K+

theidledeveloper/busybox-sleep repository overview

⁠Busybox Sleep

Minimal busybox image (1 change) with a sleep cmd override (1 hour).

⁠Docker

Docker Pulls Docker Image Size (latest semver) Docker Stars

⁠Repository

Latest tag License

Repository URL

⁠Build Status

Release Check Build

Image Build

⁠Images

Each image is created from just the base BusyBox image for both amd/64 and arm/64 architectures.

To run the images against different platforms, use the --platform switch when evoking your container runtime:

# amd64
docker run --platform linux/amd64 theidledeveloper/busybox-sleep:1.36.0"
# arm64
docker run --platform linux/arm64 theidledeveloper/busybox-sleep:1.36.0"
⁠Build Locally

The image makes use of ARG instructions to allow the use of a single Dockerfile⁠ but build images with different base BusyBox versions. To properly supply the image ARGs pass in BUSYBOX_VERSION and using the --build-arg flag. BusyBox image versions can be found at busybox⁠.

To build 1.36.0-glibc:

docker build --build-arg BUSYBOX_VERSION=1.36.0 -t theidledeveloper/busybox-sleep:latest .
⁠Run local container
image_id=$(docker run --rm -d theidledeveloper/busybox-sleep:latest)
docker exec -it "${image_id}" /bin/sh

⁠Stop container early

Within the same terminal:

docker stop "${image_id}"

In a different terminal session:

image_id="$(docker ps | grep 'theidledeveloper/busybox-sleep:1.36.0' | cut -f1 -d' ')"
docker stop "${image_id}"

Tag summary

Content type

Image

Digest

sha256:a3d1d39d8…

Size

2 MB

Last updated

about 1 year ago

docker pull theidledeveloper/busybox-sleep