Skip to content

Commit

Permalink
Don't remove snort integration
Browse files Browse the repository at this point in the history
  • Loading branch information
weslambert authored Dec 13, 2023
1 parent 56dee13 commit 01ef143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion so-elastic-fleet-package-registry/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN chmod +x /scripts/supported-integrations.sh && bash /scripts/supported-integ
# Cleanup unneeded packages, keeping the two most recent versons of each one
# Except for endpoint packages, keep all versions
RUN cd /packages/package-storage/ \
&& rm -rf suricata-* zeek-* snort-* dga-* endpoint*dev* endpoint*next* *preview* *beta* \
&& rm -rf suricata-* zeek-* dga-* endpoint*dev* endpoint*next* *preview* *beta* \
&& cd /packages/package-storage/ && LIST=$(ls --ignore="endpoint-*" | awk -F'[-]' '{print $1}' | sort | uniq ) \
&& for item in $LIST; do ls $item-*.zip | cut -d '-' -f 2 | tr - \~ | sort -V | tr \~ - | head -n-2 | xargs -I {} echo "$item-"{} | xargs -r rm -fr; done

Expand Down

0 comments on commit 01ef143

Please sign in to comment.