Skip to content

Commit

Permalink
Use latest version of Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
failys committed May 19, 2024
1 parent 4f5f4a9 commit af47aa0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cairis/bin/installUI.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@
export UI_REPO=/tmp/cairis-ui
rm -rf $UI_REPO
apt-get install curl
curl -sL https://deb.nodesource.com/setup_20.x | bash - && apt-get install -y nodejs
curl -sL https://deb.nodesource.com/setup_16.x | bash - && apt-get install -y nodejs
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
apt-get update && apt-get install -y yarn
apt-get install -y yarn
git clone https://github.com/cairis-platform/cairis-ui $UI_REPO
yarn --cwd $UI_REPO install --ignore-engines
yarn --cwd $UI_REPO run build
Expand Down
3 changes: 2 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:22.04
FROM ubuntu:latest
MAINTAINER Shamal Faily <admin@cairis.org>
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update
Expand Down Expand Up @@ -53,6 +53,7 @@ COPY createdb.sql /
COPY addAccount.sh /
COPY register_user.html /cairis/cairis/daemon/templates/security

ENV NODE_OPTIONS=--openssl-legacy-provider
RUN /cairis/cairis/bin/installUI.sh

EXPOSE 8000
Expand Down

0 comments on commit af47aa0

Please sign in to comment.