Skip to content

Commit

Permalink
Trying to fix debian/pip issue
Browse files Browse the repository at this point in the history
  • Loading branch information
filip-debricked committed Aug 19, 2024
1 parent 81f9640 commit 01670a0
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions build/docker/debian.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -94,18 +94,20 @@ ENV GOLANG_VERSION 1.22
RUN apt -y update && apt -y upgrade && apt -y install \
python3 \
python3-venv \
python-is-python3 \
python3-distutils \
ca-certificates \
python3-pip && \
apt -y install -t unstable \
golang-$GOLANG_VERSION \
openjdk-21-jre && \
apt -y clean && rm -rf /var/lib/apt/lists/* && \
# Symlink pip3 to pip, we assume that "pip" works in CLI
ln -sf /usr/bin/pip3 /usr/bin/pip && \
ln -sf /usr/bin/python3 /usr/bin/python && \
# Symlink go binary to bin directory which is in path
ln -s /usr/lib/go-$GOLANG_VERSION/bin/go /usr/bin/go

RUN which python
RUN pip list

RUN dotnet --version

RUN apt update -y && \
Expand All @@ -125,6 +127,9 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin -

RUN php -v && composer --version

RUN which python
RUN apt list --installed

CMD [ "debricked", "scan" ]

# Put copy at the end to speedup Docker build by caching previous RUNs and run those concurrently
Expand Down

0 comments on commit 01670a0

Please sign in to comment.