mirror of https://github.com/decompals/wibo.git
24 lines
417 B
Docker
24 lines
417 B
Docker
FROM ubuntu:22.04 as build
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends \
|
|
g++ \
|
|
g++-multilib \
|
|
make
|
|
|
|
COPY . /wibo
|
|
|
|
RUN make -C /wibo
|
|
|
|
|
|
FROM ubuntu:22.04
|
|
|
|
RUN dpkg --add-architecture i386 \
|
|
&& apt-get update \
|
|
&& apt-get install -y --no-install-recommends \
|
|
libstdc++6:i386
|
|
|
|
COPY --from=build /wibo/wibo /usr/local/sbin/wibo
|
|
|
|
CMD /usr/local/sbin/wibo
|