2021-07-15 09:01:19 +02:00
|
|
|
FROM debian:latest
|
|
|
|
|
|
|
|
MAINTAINER Thijn <thijn@viceunderdogs.com>
|
|
|
|
|
|
|
|
# Install packages
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
|
|
wget \
|
|
|
|
unzip \
|
|
|
|
p7zip \
|
|
|
|
libstdc++6 \
|
|
|
|
gcc \
|
|
|
|
g++ \
|
|
|
|
build-essential \
|
|
|
|
libmariadb3 \
|
2024-09-09 20:45:50 +02:00
|
|
|
libmariadb-dev \
|
2021-07-15 09:01:19 +02:00
|
|
|
libcurl4 \
|
|
|
|
libpq5 \
|
|
|
|
&& adduser --disabled-password --home /home/container container
|
|
|
|
|
|
|
|
USER container
|
|
|
|
ENV USER container
|
|
|
|
ENV HOME /home/container
|
|
|
|
ENV VCMP_VERSION v30
|
|
|
|
ENV VCMP_PLUGIN_PATCH patch2
|
|
|
|
|
|
|
|
WORKDIR /home/container
|
|
|
|
|
|
|
|
COPY ./start.sh /start.sh
|
2024-09-09 20:45:50 +02:00
|
|
|
COPY ./query /bin/vcmp-query
|
2021-07-15 09:01:19 +02:00
|
|
|
|
|
|
|
CMD ["/bin/bash", "/start.sh"]
|