Skip to content

Commit

Permalink
chore: pin latest version of premake as stable
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanhoare committed Jan 16, 2025
1 parent 7056291 commit 25d1218
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@ RUN /bts/vcpkg/vcpkg install
# Stage 2: Install Premake after vcpkg is ready
FROM dependencies AS premake
RUN cd /bts && \
wget https://github.com/premake/premake-core/archive/refs/heads/master.zip && \
unzip master.zip && rm master.zip && \
cd premake-core-master && make -f Bootstrap.mak linux && \
mv bin/release/premake5 /bin/ && rm -rf /bts/premake-core-master

wget --no-netrc -q \
-O premake.tar.gz \
"https://github.com/premake/premake-core/releases/download/v5.0.0-beta4/premake-5.0.0-beta4-linux.tar.gz" && \
tar -xzf premake.tar.gz && \
rm premake.tar.gz && \
mv premake5 /usr/local/bin/ && \
chmod +x /usr/local/bin/premake5

# Stage 3: Build the project with Premake and vcpkg
FROM premake AS build
Expand Down

0 comments on commit 25d1218

Please sign in to comment.