remove some dependencies
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-02-28 11:12:00 +01:00
parent bdaf47bce8
commit a5944e43eb

View File

@ -5,22 +5,10 @@ ENV PACKAGES="\
gcc \ gcc \
make \ make \
bash \ bash \
shadow \
libffi-dev \ libffi-dev \
musl-dev \ musl-dev \
openssl-dev \ openssl-dev \
py-pip \
python \
python-dev \ python-dev \
linux-headers \
sudo \
rsync \
curl \
ruby \
ruby-dev \
ruby-etc \
ruby-rdoc \
ruby-irb \
git \ git \
openssh-client \ openssh-client \
" "
@ -32,10 +20,6 @@ ENV PIP_PACKAGES="\
pycrypto \ pycrypto \
" "
ENV GEM_PACKAGES="\
rubocop \
"
RUN \ RUN \
apk update \ apk update \
&& apk add --update --no-cache ${PACKAGES} \ && apk add --update --no-cache ${PACKAGES} \
@ -44,8 +28,7 @@ RUN \
&& pip install --no-cache-dir ${PIP_PACKAGES} \ && pip install --no-cache-dir ${PIP_PACKAGES} \
&& rm -rf /root/.cache \ && rm -rf /root/.cache \
&& mkdir /root/.ssh \ && mkdir /root/.ssh \
&& chmod 700 /root/.ssh \ && chmod 700 /root/.ssh
&& gem install ${GEM_PACKAGES}
USER root USER root
ENV SHELL /bin/bash ENV SHELL /bin/bash