Skip to content

Commit

Permalink
Remove redundat command and clean APT list
Browse files Browse the repository at this point in the history
  • Loading branch information
rshad committed Feb 10, 2020
1 parent d3e7c15 commit 640badc
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions kitchen/wazuh-chef/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
FROM ruby

RUN apt-get update && apt install docker.io git curl wget -y

RUN apt-get update
RUN apt-get update && apt install docker.io git curl wget -y && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN gem install kitchen-docker && \
gem install rbnacl && \
Expand All @@ -15,8 +14,8 @@ RUN cd $HOME && \
git clone https://github.com/wazuh/wazuh-qa.git && \
cd $HOME/wazuh-qa && \
git fetch --all && \
git checkout devel && \
git pull origin devel
git checkout feature-439-docker-images-systemd && \
git pull origin feature-439-docker-images-systemd

RUN cd $HOME/wazuh-qa/kitchen/wazuh-chef/ && \
bundle install
Expand Down

0 comments on commit 640badc

Please sign in to comment.