Skip to content

Commit

Permalink
fix docker files
Browse files Browse the repository at this point in the history
  • Loading branch information
paulocoutinhox committed Aug 15, 2024
1 parent 6278dad commit 6564f41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions docker/android/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:18.04
FROM ubuntu:22.04

# general
ARG DEBIAN_FRONTEND=noninteractive
Expand Down Expand Up @@ -80,7 +80,6 @@ RUN git status

# system dependencies
RUN ln -s /usr/bin/python3 /usr/bin/python
RUN ln -s /usr/bin/pip3 /usr/bin/pip

RUN apt-get install -o APT::Immediate-Configure=false -f apt \
&& apt-get -f install \
Expand Down
5 changes: 2 additions & 3 deletions docker/wasm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:18.04
FROM ubuntu:22.04

# general
ARG DEBIAN_FRONTEND=noninteractive
Expand Down Expand Up @@ -59,7 +59,6 @@ RUN git status

# system dependencies
RUN ln -s /usr/bin/python3 /usr/bin/python
RUN ln -s /usr/bin/pip3 /usr/bin/pip

RUN apt-get install -o APT::Immediate-Configure=false -f apt \
&& apt-get -f install \
Expand Down Expand Up @@ -88,7 +87,7 @@ RUN bash -c 'echo "int main() { return 0; }" > /tmp/main.cc'
RUN bash -c 'source /emsdk/emsdk_env.sh && em++ -s USE_ZLIB=1 -s USE_LIBJPEG=1 -s USE_PTHREADS=1 -s ASSERTIONS=1 -o /tmp/main.html /tmp/main.cc'

# nodejs and npm
RUN curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
RUN curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
RUN apt-get install -y nodejs
RUN npm install -g npm@latest

Expand Down

0 comments on commit 6564f41

Please sign in to comment.