mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
19 lines
654 B
Text
19 lines
654 B
Text
# docker build --rm -t saltstack/drone-salt-bootstrap-testing -f Dockerfile.drone-builds .
|
|
FROM docker:edge-dind
|
|
|
|
COPY Gemfile /Gemfile
|
|
COPY tests/requirements.txt /requirements.txt
|
|
|
|
RUN apk --update add \
|
|
wget python python-dev py-pip git ruby-bundler ruby-rdoc ruby-dev gcc make libc-dev openssl-dev libffi-dev && \
|
|
gem install bundler && \
|
|
bundle install --gemfile=/Gemfile --with docker --without opennebula ec2 windows vagrant && \
|
|
pip install -U pip && \
|
|
pip install -r /requirements.txt && \
|
|
rm -rf /requirements.txt /Gemfile /root/.cache
|
|
|
|
VOLUME /var/lib/docker
|
|
EXPOSE 2375
|
|
|
|
ENTRYPOINT ["/usr/local/bin/dockerd-entrypoint.sh"]
|
|
CMD []
|