You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- FROM ubuntu:20.04
- ENV LANG C.UTF-8
-
- # Create unprivileged user to build toolchains and plugins
- RUN groupadd -g 1000 build
- RUN useradd --create-home --uid 1000 --gid 1000 --shell /bin/bash build
-
- # Install make to run make
- ENV DEBIAN_FRONTEND=noninteractive
- RUN apt-get update && apt-get install -y --no-install-recommends make
-
- # Create toolchain directory
- USER build
- RUN mkdir -p /home/build/rack-plugin-toolchain
- WORKDIR /home/build/rack-plugin-toolchain
-
- COPY Makefile /home/build/rack-plugin-toolchain/
-
- # Install dependencies for building toolchains and plugins
- USER root
- RUN make dep-ubuntu
- # Clean up files to free up space
- RUN rm -rf /var/lib/apt/lists/*
-
- USER build
- COPY MacOSX10.13.sdk.tar.* /home/build/rack-plugin-toolchain/
-
- # Build toolchains
- RUN make toolchain-mac
- RUN make toolchain-win
- RUN make toolchain-lin
-
- # Install Rack SDK
- RUN make rack-sdk
-
- RUN rm MacOSX10.13.sdk.tar.*
|