wibo/Dockerfile

24 lines
417 B
Docker
Raw Normal View History

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