Sign inSign up

unixdaddy/otto

By unixdaddy

•Updated almost 11 years ago

Hashicorp Otto

Image
0

270

unixdaddy/otto repository overview

This is built from centos:latest (7)

On running the container it will by default download the present latest version (otto_0.1.2_linux_amd64.zip) from https://dl.bintray.com/mitchellh/otto/⁠ and place you in a shell.

If the version changes then start your container with the --env OTTO_VERSION=X.X.X this will download that version of otto (as long as filename format hasn't changed) and place you in a shell.

if you want to know if your version of otto is the latest simple run "otto version" when in the container and it will tell you if the version is out of date.

You can also manually download the otto software once in the container by running the download_otto.sh script (after setting the environment variable OTTO_VERSION as required based on the output of otto version).

⁠DOCKERFILE

FROM centos:latest MAINTAINER Unixdaddy <unixdaddyATgmail.com> ADD otto /otto_download/ RUN yum repolist && yum install wget unzip -y ENV OTTO_VERSION 0.1.1 WORKDIR /otto_download CMD /otto_download/download_otto.sh && bash

⁠download_otto.sh

VAR=$OTTO_VERSION cd /usr/local/bin rm otto_*.zip wget https;//dl.bintray.com/mitchellh/otto/otto_${VAR}_linux_amd64.zip unzip -o otto_*.zip

Tag summary

Content type

Image

Digest

sha256:873f18518…

Size

85.7 MB

Last updated

almost 11 years ago

docker pull unixdaddy/otto