Skip to content

Commit

Permalink
Dockerfiles syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
kleag committed May 5, 2024
1 parent 902e327 commit 1173e71
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions continuous_integration/Dockerfile-debian12
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ COPY --from=aymara_svmtoolpp-debian12 /opt/svmtool++ /usr
# Setup
RUN apt-get update && apt-get install -y locales locales-all apt-utils lsb-release git gcc g++ make curl python3-nltk gawk wget python3 ninja-build qt6-base-dev qt6-tools-dev libenchant-2-dev libtre-dev libboost-all-dev gnupg build-essential libssl-dev nodejs npm dos2unix unzip libeigen3-dev python3-pip python-is-python3 cmake qml6-module-qtqml qt6-base-dev qt6-tools-dev libqt6concurrent6 libqt6qml6 qt6-base-dev-tools qt6-charts-dev qt6-declarative-dev qt6-declarative-dev-tools qt6-httpserver-dev qt6-multimedia-dev python3-arpy python3-requests python3-tqdm

RUN wget https://launchpad.net/~limapublisher/+archive/ubuntu/ppa/+files/libtensorflow-for-lima-generic_1.9-ubuntu7~20.04_amd64.deb -q \
RUN /bin/bash -c "if [ \"$USE_TENSORFLOW\" = true ] ; then wget https://launchpad.net/~limapublisher/+archive/ubuntu/ppa/+files/libtensorflow-for-lima-generic_1.9-ubuntu7~20.04_amd64.deb -q \
&& dpkg -i libtensorflow-for-lima-generic_1.9-ubuntu7~20.04_amd64.deb \
&& rm -f libtensorflow-for-lima-generic_1.9-ubuntu7~20.04_amd64.deb
&& rm -f libtensorflow-for-lima-generic_1.9-ubuntu7~20.04_amd64.deb ; fi"

RUN wget https://launchpad.net/~limapublisher/+archive/ubuntu/ppa/+files/libtensorflow-for-lima-dev_1.9-ubuntu7~20.04_amd64.deb -q \
RUN /bin/bash -c "if [ \"$USE_TENSORFLOW\" = true ] ; then wget https://launchpad.net/~limapublisher/+archive/ubuntu/ppa/+files/libtensorflow-for-lima-dev_1.9-ubuntu7~20.04_amd64.deb -q \
&& dpkg -i libtensorflow-for-lima-dev_1.9-ubuntu7~20.04_amd64.deb \
&& rm -f libtensorflow-for-lima-dev_1.9-ubuntu7~20.04_amd64.deb
&& rm -f libtensorflow-for-lima-dev_1.9-ubuntu7~20.04_amd64.deb ; fi"

# Install recent cmake
#WORKDIR /cmake_build
Expand Down
4 changes: 2 additions & 2 deletions continuous_integration/Dockerfile-ubuntu22.04
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ ARG LIBTORCH_DL="download_libtorch.sh" # Use download_libtorch_gpu.sh for GPU bu

RUN /bin/bash -c "if [ \"$USE_TENSORFLOW\" = true ] ; then wget https://launchpad.net/~limapublisher/+archive/ubuntu/ppa/+files/libtensorflow-for-lima-generic_1.9-ubuntu7~20.04_amd64.deb -q \
&& dpkg -i libtensorflow-for-lima-generic_1.9-ubuntu7~20.04_amd64.deb \
&& rm -f libtensorflow-for-lima-generic_1.9-ubuntu7~20.04_amd64.deb ; fi
&& rm -f libtensorflow-for-lima-generic_1.9-ubuntu7~20.04_amd64.deb ; fi"

RUN /bin/bash -c "if [ \"$USE_TENSORFLOW\" = true ] ; then wget https://launchpad.net/~limapublisher/+archive/ubuntu/ppa/+files/libtensorflow-for-lima-dev_1.9-ubuntu7~20.04_amd64.deb -q \
&& dpkg -i libtensorflow-for-lima-dev_1.9-ubuntu7~20.04_amd64.deb \
&& rm -f libtensorflow-for-lima-dev_1.9-ubuntu7~20.04_amd64.deb ; fi
&& rm -f libtensorflow-for-lima-dev_1.9-ubuntu7~20.04_amd64.deb ; fi"


# Setup
Expand Down
4 changes: 2 additions & 2 deletions continuous_integration/Dockerfile-ubuntu22.04-fia
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ ARG LIBTORCH_DL="download_libtorch_gpu.sh" # Use download_libtorch_gpu.sh for GP

RUN /bin/bash -c "if [ \"$USE_TENSORFLOW\" = true ] ; then wget https://launchpad.net/~limapublisher/+archive/ubuntu/ppa/+files/libtensorflow-for-lima-generic_1.9-ubuntu7~20.04_amd64.deb -q \
&& dpkg -i libtensorflow-for-lima-generic_1.9-ubuntu7~20.04_amd64.deb \
&& rm -f libtensorflow-for-lima-generic_1.9-ubuntu7~20.04_amd64.deb ; fi
&& rm -f libtensorflow-for-lima-generic_1.9-ubuntu7~20.04_amd64.deb ; fi"

RUN /bin/bash -c "if [ \"$USE_TENSORFLOW\" = true ] ; then wget https://launchpad.net/~limapublisher/+archive/ubuntu/ppa/+files/libtensorflow-for-lima-dev_1.9-ubuntu7~20.04_amd64.deb -q \
&& dpkg -i libtensorflow-for-lima-dev_1.9-ubuntu7~20.04_amd64.deb \
&& rm -f libtensorflow-for-lima-dev_1.9-ubuntu7~20.04_amd64.deb ; fi
&& rm -f libtensorflow-for-lima-dev_1.9-ubuntu7~20.04_amd64.deb ; fi"

# Setup
RUN npm install -g json
Expand Down

0 comments on commit 1173e71

Please sign in to comment.