Public Repository

Last pushed: 2 years ago
Short Description
provide chef, berkshelf in ubuntu 12.04
Full Description

FROM ubuntu:12.04

MAINTAINER jimmy.yang@nxtomo.hk

ENV HOME /root

ENV TERM linux

RUN apt-get -y update

RUN apt-get -y install curl build-essential libxml2-dev libxslt-dev git

RUN curl -L https://www.opscode.com/chef/install.sh | bash

RUN echo "gem: --no-ri --no-rdoc" > ~/.gemrc

RUN apt-get install -y libgecode30 libgecode-dev

RUN USE_SYSTEM_GECODE=1 /opt/chef/embedded/bin/gem install dep-selector-libgecode

RUN /opt/chef/embedded/bin/gem install berkshelf

Docker Pull Command
Owner
gankgu

Comments (2)
gankgu
3 years ago

FROM gankgu/chef-solo
MAINTAINER jimmy.yang@nxtomo.hk

ENV HOME /root
ENV TERM linux


RUN apt-get update

RUN apt-get install -y openssh-server
RUN mkdir /var/run/sshd
RUN echo 'root:samplepass' |chpasswd

EXPOSE 22
CMD    ["/usr/sbin/sshd", "-D"]
gankgu
3 years ago

FROM gankgu/chef-solo
MAINTAINER jimmy.yang@nxtomo.hk

ENV HOME /root
ENV TERM linux

RUN apt-get update

RUN apt-get install -y openssh-server
RUN mkdir /var/run/sshd
RUN echo 'root:samplepass' |chpasswd

EXPOSE 22
CMD ["/usr/sbin/sshd", "-D"]