From ca324076529cbc698ccd2ea3f1091a0e3ac99842 Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Thu, 11 May 2023 00:40:28 +0400 Subject: Up Dockerfile debian --- Dockerfile_test | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Dockerfile_test') diff --git a/Dockerfile_test b/Dockerfile_test index 9e37736..7254706 100644 --- a/Dockerfile_test +++ b/Dockerfile_test @@ -1,4 +1,4 @@ -FROM ubuntu:18.04 +FROM ubuntu:latest MAINTAINER Oleg Morozenkov RUN apt-get -qq update && \ @@ -16,8 +16,8 @@ RUN apt-get -qq update && \ make \ python-dev \ wget \ - zlib1g-dev - + zlib1g-dev && \ + rm -rf /var/lib/apt/lists/* WORKDIR /usr/src/tgbot-cpp COPY include include @@ -29,7 +29,6 @@ RUN cmake -DENABLE_TESTS=ON . && \ make -j$(nproc) && \ make install - COPY samples samples WORKDIR /usr/src/tgbot-cpp/samples/echobot @@ -49,7 +48,6 @@ RUN rm -rf samples/echobot-submodule/tgbot-cpp/ COPY include samples/echobot-submodule/tgbot-cpp/include COPY src samples/echobot-submodule/tgbot-cpp/src COPY CMakeLists.txt samples/echobot-submodule/tgbot-cpp/ - WORKDIR /usr/src/tgbot-cpp/samples/echobot-submodule RUN rm -rf CMakeCache.txt CMakeFiles/ && \ cmake . && make -j$(nproc) -- cgit v1.2.3