blob: 0ea158c32ababc410d5385e9d2d7bff97eddb338 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
FROM ubuntu:16.04
MAINTAINER Chef Software, Inc. <docker@chef.io>
ARG CHANNEL=stable
ARG VERSION=latest
ENV DEBIAN_FRONTEND=noninteractive
ENV PATH=/opt/chef/bin:/opt/chef/embedded/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN apt-get update && \
apt-get install -y wget ssh && \
wget --content-disposition "https://omnitruck.chef.io/${CHANNEL}/chef/download?p=ubuntu&pv=16.04&m=x86_64&v=${VERSION}" -O /tmp/chef-client.deb && \
dpkg -i /tmp/chef-client.deb && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|