Sign inSign up

opsline/tools

By opsline

Updated 3 months ago

Common tools used in docker builds for easy Dockerfile import

Image
0

10K+

opsline/tools repository overview

docker-tools

Docker build for the opsline/tools image containing the following utilities:

  • chalk (0.7.3)
  • envstache (master)
  • awscli (1.15.41)
  • jo (1.1)
  • jq (1.5)
  • dockerize (0.6.1)
  • gosu (1.10)

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.

Image tags

  • 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)

Usage

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

Tag summary

Content type

Image

Digest

Size

100 MB

Last updated

almost 8 years ago

docker pull opsline/tools