forked from Kitteh6660/Corruption-of-Champions-Mod
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
relates to Kitteh6660#1487
- Loading branch information
Showing
4 changed files
with
61 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
FROM eclipse-temurin:21 | ||
|
||
WORKDIR /build | ||
|
||
RUN apt-get -yq update && \ | ||
apt-get upgrade -yq && \ | ||
apt-get -y --no-install-recommends \ | ||
install \ | ||
ant \ | ||
ca-certificates \ | ||
curl \ | ||
sed \ | ||
&& apt-get -y clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN curl -OL https://dlcdn.apache.org/flex/4.16.1/binaries/apache-flex-sdk-4.16.1-bin.tar.gz | ||
RUN tar xvf apache-flex-sdk-4.16.1-bin.tar.gz | ||
RUN mkdir -p apache-flex-sdk-4.16.1-bin/frameworks/libs/player/27.0 | ||
|
||
RUN curl -L \ | ||
https://github.com/nexussays/playerglobal/raw/master/27.0/playerglobal.swc \ | ||
-o apache-flex-sdk-4.16.1-bin/frameworks/libs/player/27.0/playerglobal.swc | ||
|
||
RUN sed -i'' 's|{playerglobalHome}|libs/player|g' apache-flex-sdk-4.16.1-bin/frameworks/flex-config.xml | ||
|
||
RUN cat apache-flex-sdk-4.16.1-bin/frameworks/flex-config.xml | ||
|
||
COPY . /build/ | ||
|
||
ENV FLEX_HOME=/build/apache-flex-sdk-4.16.1-bin | ||
|
||
CMD ant debug && \ | ||
mv /build/target/CoC-debug.swf /build/artifacts/CoC-debug.swf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
services: | ||
build: | ||
image: coc-ant | ||
build: | ||
context: . | ||
restart: no | ||
volumes: | ||
- ./artifacts:/build/artifacts |