Alpine Linux with Bash
All tags in the official Alpine Linux repository are supported
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
Content type
Image
Digest
sha256:18bef1acb…
Size
4 MB
Last updated
over 2 years ago
docker pull jonstonchan/alpine-bash