fix dockerfile
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aaron Riedel 2024-07-07 21:26:06 +02:00
parent 55724198ff
commit 556062f9b5
Signed by: aaron
GPG key ID: 643004654D40D577

View file

@ -1,8 +1,8 @@
FROM debian:12-slim FROM debian:12-slim
RUN apt-get update -qq && apt-get install -qq libmariadb3 --no-install-recommends && rm -rf /var/lib/apt/lists/* RUN apt-get update -qq && apt-get install -qq libmariadb3 --no-install-recommends && rm -rf /var/lib/apt/lists/*
COPY https://dlm.mariadb.com/3848227/Connectors/cpp/connector-cpp-1.1.4/mariadb-connector-cpp-1.1.4-debian-bookworm-amd64.tar.gz /root/ ADD https://dlm.mariadb.com/3848227/Connectors/cpp/connector-cpp-1.1.4/mariadb-connector-cpp-1.1.4-debian-bookworm-amd64.tar.gz /root/
RUN tar -xvzf /mariadb-connector-cpp-1.1.4-debian-bookworm-amd64.tar.gz --directory /root RUN tar -xvzf /root/mariadb-connector-cpp-1.1.4-debian-bookworm-amd64.tar.gz --directory /root
RUN cp /root/mariadb-connector-cpp-1.1.4-debian-bookworm-amd64/lib/mariadb/libmariadbcpp.so /usr/lib/ RUN cp /root/mariadb-connector-cpp-1.1.4-debian-bookworm-amd64/lib/mariadb/libmariadbcpp.so /usr/lib/
ARG PUID=1000 ARG PUID=1000