Skip to content

Commit

Permalink
Add Docker Compose installation and update PATH for Go binaries
Browse files Browse the repository at this point in the history
- Updated PATH to include /usr/local/bin for Go binaries
- Installed Docker Compose v2.5.0 using curl for ease of use in container
- Retained essential package installations and environment setup
- Ensured compatibility for Python, Go, Rust, and geckodriver installations
- Improved container build process by ensuring updated toolset with Docker Compose
  • Loading branch information
NxPKG authored Dec 29, 2024
1 parent e9251c4 commit 21e2994
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
ENV GOROOT="/usr/local/go"
ENV GOPATH=$HOME/go
ENV PATH="${PATH}:${GOROOT}/bin:${GOPATH}/bin"
ENV PATH="${PATH}:${GOROOT}/bin:${GOPATH}/bin:/usr/local/bin"

# Install Python
RUN apt update -y && \
Expand Down Expand Up @@ -107,6 +107,10 @@ RUN nuclei -update-templates
# update chaos
RUN chaos -update

# Install Docker Compose v2.5.0
RUN curl -L "https://github.com/docker/compose/releases/download/v2.5.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose \
&& chmod +x /usr/local/bin/docker-compose

# Copy requirements
COPY ./requirements.txt /tmp/requirements.txt
RUN pip3 install --upgrade setuptools==72.1.0
Expand Down

0 comments on commit 21e2994

Please sign in to comment.