-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
137 additions
and
1 deletion.
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
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,24 @@ | ||
FROM ubuntu:24.04 | ||
ARG no_check=false | ||
ARG no_install=false | ||
|
||
RUN apt-get update | ||
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata | ||
RUN apt-get install -y gcc zlib1g-dev python3 cmake unzip zip gzip tar pkg-config | ||
|
||
RUN mkdir src | ||
COPY CMakeLists.txt README COPYING.LIB ChangeLog src/ | ||
COPY CMakeScripts src/CMakeScripts | ||
COPY bins src/bins | ||
COPY docs src/docs | ||
COPY test src/test | ||
COPY SDL src/SDL | ||
COPY zzipwrap src/zzipwrap | ||
COPY zzip src/zzip | ||
|
||
RUN mkdir src/build | ||
RUN cd src/build && cmake .. | ||
RUN cd src/build && make | ||
RUN $no_check || (cd src/build && make check) | ||
RUN $no_install || (cd src/build && make install) | ||
|
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,25 @@ | ||
FROM ubuntu:24.04 | ||
ARG no_check=false | ||
ARG no_install=false | ||
|
||
RUN apt-get update | ||
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata | ||
RUN apt-get install -y gcc zlib1g-dev python3 cmake unzip zip gzip tar pkg-config libsdl2-dev | ||
## libsdl2-dev is on "universe" | ||
|
||
RUN mkdir src | ||
COPY CMakeLists.txt README COPYING.LIB ChangeLog src/ | ||
COPY CMakeScripts src/CMakeScripts | ||
COPY bins src/bins | ||
COPY docs src/docs | ||
COPY test src/test | ||
COPY SDL src/SDL | ||
COPY zzipwrap src/zzipwrap | ||
COPY zzip src/zzip | ||
|
||
RUN mkdir src/build | ||
RUN cd src/build && cmake .. | ||
RUN cd src/build && make | ||
RUN $no_check || (cd src/build && make check) | ||
RUN $no_install || (cd src/build && make install) | ||
|