Skip to content

Commit

Permalink
Add nodejs to docker-rdk-ci container (#6)
Browse files Browse the repository at this point in the history
* RDKE-61: Use common GH context variables (#4) (#5)

* RDKE-61: Use common GH context variables

* RDKE-61: Updates for pckage deploy

* Add nodejs to docker-rdk-ci container

nodejs is required by Synopsis Coverity Reporting tool

* Fix verify-build workflow

---------

Co-authored-by: Shibu Kakkoth Vayalambron <shibu.kakkoth@gmail.com>
  • Loading branch information
scthunderbolt and shibu-kv authored Sep 13, 2024
1 parent c202c66 commit ad9755b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/verify-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: Build and Push amd64 Docker Image to GHCR

on:
pull_request:
branches:
- main, develop
branches: [ main, develop ]

jobs:
build-and-push:
Expand Down
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
FROM ubuntu:22.04
ARG DEBIAN_FRONTEND=noninteractive

LABEL org.opencontainers.image.source https://github.com/rdkcentral/docker-rdk-ci
LABEL org.opencontainers.image.source=https://github.com/rdkcentral/docker-rdk-ci
LABEL org.opencontainers.image.authors="RDK Engineers"
LABEL org.opencontainers.image.description="RDK CI Docker Image"
LABEL org.opencontainers.image.architectures="amd64, arm64"
Expand All @@ -16,7 +16,7 @@ RUN apt-get update && apt-get install -y build-essential \
libmsgpack-dev libsystemd-dev libssl-dev libcjson-dev python3-pip libsqlite3-dev \
libgtest-dev libgmock-dev libjansson-dev libbsd-dev tcl-dev \
libboost-all-dev libwebsocketpp-dev libcunit1 libcunit1-dev libunwind-dev \
gdb valgrind lcov clang g++ wget gperf ruby-full
gdb valgrind lcov clang g++ wget gperf ruby-full curl

# Common python packages
RUN pip3 install xmltodict requests jsonref
Expand All @@ -39,6 +39,10 @@ RUN cd /usr/src/googletest/googlemock/ && mkdir build && cmake .. && make && mak

RUN mkdir -p /home/mount

# Install nodejs
RUN curl -sL https://deb.nodesource.com/setup_22.x | bash -
RUN apt-get install -q -y nodejs

# Trim down the docker image size
RUN rm -rf /var/lib/apt/lists/*

Expand Down

0 comments on commit ad9755b

Please sign in to comment.