Sign inSign up

ddebeul/packer

By ddebeul

Updated almost 6 years ago

Packer is a devops tools that creates images for several cloud providers.

Image
0

876

ddebeul/packer repository overview

Dockerfile

FROM alpine:latest

# Install essential packages
RUN apk add --no-cache wget unzip

# Install packer
ENV PACKER_VERSION 1.6.5
RUN mkdir -p /opt/packer; \
    wget -nc -q https://releases.hashicorp.com/packer/${PACKER_VERSION}/packer_${PACKER_VERSION}_linux_amd64.zip -P /opt/packer; \
    unzip -q /opt/packer/packer_${PACKER_VERSION}_linux_amd64.zip -d /opt/packer
ENV PATH $PATH:/opt/packer

# Make directory which will contain the packer project and expose as volume
RUN mkdir -p /usr/src/app
VOLUME /usr/src/app

# Change working directory
WORKDIR /usr/src/app

Tag summary

Content type

Image

Digest

Size

58.7 MB

Last updated

almost 6 years ago

docker pull ddebeul/packer