-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from kubilus1/pr42
SGDK 1.40
- Loading branch information
Showing
15 changed files
with
330 additions
and
845 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
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 |
---|---|---|
@@ -1,9 +1,45 @@ | ||
FROM ubuntu:14.04 | ||
FROM ubuntu:bionic as build | ||
|
||
WORKDIR /tmp | ||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
RUN apt-get update && apt-get install -y build-essential wget unzip unrar-free texinfo git && apt-get clean | ||
ENV GENDEV /opt/gendev | ||
|
||
RUN bash -c "git clone https://github.com/kubilus1/gendev.git && cd gendev && make && rm -rf /tmp/*" | ||
RUN apt-get update && \ | ||
apt-get install -y \ | ||
build-essential \ | ||
wget \ | ||
unzip \ | ||
unrar-free \ | ||
texinfo \ | ||
git \ | ||
openjdk-8-jdk-headless && \ | ||
apt-get clean | ||
|
||
CMD /bin/bash | ||
# To download gcc 6.3 with wget. We must provide a password with '@' in. | ||
#RUN echo ftp_user=anonymous > ~/.wgetrc | ||
#RUN echo [email protected] >> ~/.wgetrc | ||
|
||
#RUN bash -c "git clone https://github.com/kubilus1/gendev.git && cd gendev && make && rm -rf /tmp/*" | ||
WORKDIR /work | ||
COPY tools /work/tools/ | ||
COPY Makefile /work/ | ||
COPY sgdk /work/sgdk/ | ||
COPY toolchain /work/toolchain/ | ||
RUN make | ||
RUN make install | ||
|
||
FROM ubuntu:bionic | ||
RUN apt-get update && \ | ||
apt-get install -y \ | ||
openjdk-8-jre-headless \ | ||
build-essential \ | ||
make && \ | ||
apt-get clean | ||
|
||
ENV GENDEV /opt/gendev | ||
COPY --from=build /opt/gendev $GENDEV | ||
ENV PATH $GENDEV/bin:$PATH | ||
|
||
WORKDIR /src | ||
|
||
ENTRYPOINT make -f $GENDEV/sgdk/mkfiles/makefile.gen |
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.