Sign inSign up

jonstonchan/alpine-bash

By jonstonchan

•Updated over 2 years ago

Alpine Linux with Bash

Image
0

50K+

jonstonchan/alpine-bash repository overview

⁠Image summary

Alpine Linux with Bash

⁠Supported tags

All tags in the official Alpine Linux repository⁠ are supported

⁠Dockerfile template

FROM alpine:${tag}

RUN apk update && apk add \
	bash \
 && rm -rf /var/cache/apk/* \
 && sed --in-place 's|:/bin/ash$|:/bin/bash|g' /etc/passwd

Note: apk update and rm -rf /var/cache/apk/* are used instead of apk add --no-cache because apk-tools that comes with old versions of Alpine Linux do not support the --no-cache flag

Tag summary

Content type

Image

Digest

sha256:18bef1acb…

Size

4 MB

Last updated

over 2 years ago

docker pull jonstonchan/alpine-bash