Common tools used in docker builds for easy Dockerfile import
10K+
Docker build for the opsline/tools image containing the following utilities:
All binaries are available in /usr/local/bin; awscli is located at /opt/awscli in a virtualenv and can be run via /opt/awscli/bin/aws.
opsline/tools:latest - based on debian:stretch (or ubuntu:xenial)opsline/tools:alpine - based on alpine:latest (currently 3.7)opsline/tools:amazon - based on amazonlinux:1 (currently 2018.03)opsline/tools:amazon2 - based on amazonlinux:latest (currently 2.0)This image can be used directly but is not very useful under normal circumstances. Instead, it is meant as an easy way to bring the provided tools into other images without cluttering them up with tens of lines of compilation (and also without adding lots of extra layers).
# Import tools
FROM opsline/tools:latest AS tools
...
# Build your image
FROM debian:stretch
COPY --from=tools /usr/local/bin/gosu /usr/local/bin/
# or
COPY --from=tools /usr/local/bin/* /usr/local/bin/
# for awscli:
COPY --from=tools /opt/awscli /opt/
# make sure your image has ca-certificates & python installed
RUN apt-get install -y ca-certificates python
Content type
Image
Digest
Size
100 MB
Last updated
almost 8 years ago
docker pull opsline/tools