25 lines
692 B
Docker
25 lines
692 B
Docker
FROM debian:latest
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
build-essential cmake git wget tar curl ninja-build mold nodejs npm perl jq ccache nlohmann-json3-dev \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN echo "deb http://deb.debian.org/debian testing main" | tee /etc/apt/sources.list.d/testing-temp.list
|
|
|
|
RUN apt-get update && apt-get -t testing install -y upx-ucl && \
|
|
rm -rf /var/lib/apt/lists/* && \
|
|
rm /etc/apt/sources.list.d/testing-temp.list && \
|
|
apt-get update
|
|
|
|
RUN curl -fsSL https://get.docker.com | sh
|
|
|
|
COPY --chmod=0755 ./src/* /usr/local/bin/
|
|
|
|
RUN /usr/local/bin/dropshell-build-install-requirements
|
|
|
|
WORKDIR /app
|
|
|
|
CMD ["dropshell-build","/app"]
|
|
|
|
|