mirror of
https://github.com/avast/retdec.git
synced 2025-02-17 04:08:09 +00:00
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:
parent
caabd5f2a8
commit
f78ddffe9d
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user