docker: downgrade back to ubuntu:focal

Not that RetDec could not be complied on ubuntu:jammy, but we have old
docker on TC servers and we are getting this:

https://stackoverflow.com/questions/73699753/the-following-signatures-couldnt-be-verified-because-the-public-key-is-not-avai
This commit is contained in:
Peter Matula 2022-12-06 17:45:31 +01:00
parent caabd5f2a8
commit f78ddffe9d
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
FROM ubuntu:jammy-20220101 AS builder
FROM ubuntu:focal AS builder
RUN useradd -m retdec
WORKDIR /home/retdec
@ -28,11 +28,11 @@ RUN git clone https://github.com/avast/retdec && \
cd retdec && \
mkdir build && \
cd build && \
cmake .. -DCMAKE_INSTALL_PREFIX=/home/retdec/retdec-install -DCMAKE_BUILD_TYPE=Release && \
cmake .. -DCMAKE_INSTALL_PREFIX=/home/retdec/retdec-install -DCMAKE_LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/ -DCMAKE_BUILD_TYPE=Release && \
make -j$(nproc) && \
make install
FROM ubuntu:jammy-20220101
FROM ubuntu:focal
RUN useradd -m retdec
WORKDIR /home/retdec

View File

@ -1,4 +1,4 @@
FROM ubuntu:jammy-20220801
FROM ubuntu:focal
RUN useradd -m retdec
WORKDIR /home/retdec
@ -33,7 +33,7 @@ USER retdec
RUN cd retdec && \
mkdir build && \
cd build && \
cmake .. -DCMAKE_INSTALL_PREFIX=/home/retdec/retdec-install && \
cmake .. -DCMAKE_INSTALL_PREFIX=/home/retdec/retdec-install -DCMAKE_LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/ && \
make -j$(nproc) && \
make install