mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-16 22:45:46 +01:00
include dockerfile in repo
store the docker file used in the workflows in the repo as well
This commit is contained in:
34
.github/Dockerfile
vendored
Normal file
34
.github/Dockerfile
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
# docker buildx build . -t mcaselector-lite
|
||||
# docker tag mcaselector-lite:latest ghcr.io/thepigeongenerator/mcaselector-lite:latest
|
||||
# docker push ghcr.io/thepigeongenerator/mcaselector-lite:latest
|
||||
FROM debian:testing-slim
|
||||
|
||||
# set environment variables
|
||||
ENV VCPKG_DISABLE_METRICS="1"
|
||||
ENV VCPKG_ROOT="/opt/vcpkg"
|
||||
ENV PATH="${VCPKG_ROOT}:${PATH}"
|
||||
|
||||
# install the dependencies
|
||||
RUN apt update && apt install -y --no-install-recommends \
|
||||
ca-certificates \
|
||||
git \
|
||||
curl \
|
||||
zip \
|
||||
unzip \
|
||||
pkg-config \
|
||||
make \
|
||||
clang \
|
||||
clang-tidy \
|
||||
gcc \
|
||||
gcc-multilib \
|
||||
lld \
|
||||
g++ \
|
||||
mingw-w64 \
|
||||
libc6-dev \
|
||||
libglfw3-dev \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& git clone https://github.com/microsoft/vcpkg.git "${VCPKG_ROOT}" \
|
||||
&& "${VCPKG_ROOT}/bootstrap-vcpkg.sh" \
|
||||
&& vcpkg install glfw3:x64-mingw-dynamic
|
||||
|
||||
CMD ["bash"]
|
||||
Reference in New Issue
Block a user