Skip to content

Commit

Permalink
Merge pull request #50 from MisterSheeple/patch-1
Browse files Browse the repository at this point in the history
Update Dockerfile to Ubuntu 22.04 as 18.04 is EOL
  • Loading branch information
AloXado320 authored May 11, 2024
2 parents 59a461c + f608785 commit 57679aa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
19 changes: 9 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
FROM ubuntu:18.04 as build
FROM ubuntu:22.04 as build

RUN apt-get update && \
apt-get install -y \
binutils-mips-linux-gnu \
bsdmainutils \
bsdextrautils \
build-essential \
git \
libsdl2-dev \
pkg-config \
python3 \
wget
pkgconf \
python3

RUN mkdir /sm64
WORKDIR /sm64
ENV PATH="/sm64/tools:${PATH}"
RUN mkdir /sm64ex-alo
WORKDIR /sm64ex-alo
ENV PATH="/sm64ex-alo/tools:${PATH}"

CMD echo 'usage: docker run --rm --mount type=bind,source="$(pwd)",destination=/sm64 sm64 make VERSION=us -j4\n' \
'see https://github.com/n64decomp/sm64/blob/master/README.md for advanced usage'
CMD echo 'Usage: docker run --rm -v ${PWD}:/sm64ex-alo sm64ex-alo make VERSION=us -j4\n' \
'See https://github.com/AloUltraExt/sm64ex-alo/blob/master/README.md for more information'
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Fork of [sm64pc/sm64ex](https://github.com/sm64pc/sm64ex) with additional featur

#### Install build dependencies:
```sh
sudo apt install -y binutils-mips-linux-gnu build-essential git libcapstone-dev pkgconf python3 gcc-mips-linux-gnu
sudo apt install -y binutils-mips-linux-gnu build-essential git pkgconf python3 gcc-mips-linux-gnu
```

#### Build:
Expand Down

0 comments on commit 57679aa

Please sign in to comment.