Skip to content

Commit

Permalink
ED-4000 feat: Github actions instead of Jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
princegupta1131 committed May 23, 2024
1 parent 88ea2c8 commit c7be186
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Dockerfile for the player setup
FROM node:18.20.2-slim
FROM node:20-alpine
RUN useradd -u 1001 -md /home/sunbird sunbird
WORKDIR /home/sunbird
COPY --chown=sunbird . /home/sunbird/app_dist/
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.Build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Dockerfile for the player setup
FROM node:18.20.2
FROM node:20.9.0
MAINTAINER "Rajesh Rajendran <[email protected]>"
RUN sed -i '/jessie-updates/d' /etc/apt/sources.list
RUN apt-get update && apt-get install -y --no-install-recommends apt-utils \
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ node() {
which git
which python
echo "logging_here________end"
docker run -d --name offline_build -w /offline node:18.20.2-slim sleep infinity
docker run -d --name offline_build -w /offline node:20-alpine sleep infinity
docker cp .. offline_build:/offline/
docker exec offline_build bash -x /offline/src/desktop/build.sh
docker cp offline_build:/offline/src/desktop/app_dist.tar.gz ../../
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
STARTTIME=$(date +%s)
export PYTHON=/usr/bin/python3.7
NODE_VERSION=18.20.2
NODE_VERSION=20.9.0
echo "Starting portal build from build.sh"
set -euo pipefail
export NVM_DIR="$HOME/.nvm"
Expand Down

0 comments on commit c7be186

Please sign in to comment.