Skip to content

Commit

Permalink
test build
Browse files Browse the repository at this point in the history
  • Loading branch information
pyToshka committed Jan 11, 2024
1 parent f79ca6a commit 2703fff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ WORKDIR /var/ossec/
COPY --from=builder /tmp/wheel /tmp/wheel

SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN install_packages \
python3-docker python3-setuptools python3-pip
RUN install_packages python3-docker python3-setuptools python3-pip && \
apt-get clean autoclean && \
apt-get autoremove -y

RUN install_packages procps curl apt-transport-https gnupg2 inotify-tools && \
curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | apt-key add - && \
Expand Down
5 changes: 2 additions & 3 deletions images/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@ COPY --from=builder /tmp/wheel /tmp/wheel
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN apt-get update && apt-get install -yq python3-docker python3-setuptools python3-pip && \
apt-get clean autoclean && \
apt-get autoremove -y && \
rm -rf /var/lib/{apt,dpkg,cache,log}/ && \
rm -rf /tmp/* /var/tmp/* /var/log/*
apt-get autoremove -y

WORKDIR /var/ossec/
COPY *.py *.jinja2 /var/ossec/
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
Expand Down

0 comments on commit 2703fff

Please sign in to comment.