build(docker): replace install script with preset and add sast tools

- Replace curl-based installation with 'osmedeus install base --preset' command
- Add explicit binary installation for trivy, semgrep, and kingfisher for SAST testing
- Comment out original install script line for reference
This commit is contained in:
j3ssie
2026-02-10 17:27:20 +07:00
parent ef00c176e5
commit 6bd81d6dde
+7 -1
View File
@@ -44,8 +44,14 @@ RUN mkdir -p /root/osmedeus-base /root/workspaces-osmedeus /root/go/bin
WORKDIR /root
# # Install osmedeus via official install script
# RUN curl -fsSL https://www.osmedeus.org/install.sh | bash
# Install released osmedeus (pulls workflows, tools, etc.)
RUN curl -fsSLk https://www.osmedeus.org/install.sh | bash
RUN osmedeus install base --preset
# This is for sast test
RUN osmedeus install binary --name trivy --name semgrep --name kingfisher
ENV PATH="/root/.local/bin:/root/go/bin:/root/osmedeus-base/external-binaries:${PATH}"