finetune debug docker

This commit is contained in:
einhornimmond 2021-02-17 16:45:10 +01:00 committed by Ulf Gebhardt
parent 7e25ab5af5
commit 405c99add6
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -29,6 +29,7 @@ COPY --from=protoc_build /protobuf/src/.libs/libprotoc.so.20.0.1 /usr/lib/libpro
COPY --from=protoc_build /protobuf/src/google/protobuf/*.proto /usr/include/google/protobuf/
COPY --from=protoc_build /protobuf/src/google/protobuf/*.h /usr/include/google/protobuf/
#VOLUME /root/.conan
RUN mkdir -p ${DOCKER_WORKDIR}
WORKDIR ${DOCKER_WORKDIR}
@ -67,6 +68,8 @@ From debug_preparation as debug
ENV DOCKER_WORKDIR="/code"
USER root
#VOLUME /root/.conan
RUN apt-get update && \
apt-get install -y --no-install-recommends gdb && \
apt-get autoclean && \