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 20, 2024
1 parent 81f9640 commit 6d7aca3
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions build/docker/debian.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,20 +92,21 @@ RUN curl -fsSLO https://dot.net/v1/dotnet-install.sh \

ENV GOLANG_VERSION 1.22
RUN apt -y update && apt -y upgrade && apt -y install \
python3 \
python3-venv \
ca-certificates \
python3-pip && \
python-is-python3 \
ca-certificates && \
apt -y install -t unstable \
python3.12\
python3.12-venv \
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 python3 --version

RUN python --version

RUN dotnet --version

RUN apt update -y && \
Expand All @@ -125,6 +126,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 6d7aca3

Please sign in to comment.