Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nodejs to docker-rdk-ci container #6

Merged
merged 3 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GHCR_TOKEN }}
password: ${{ secrets.PACAKGE_UPDATE_KEY }}

- name: Build and push multi-platform Docker image
uses: docker/build-push-action@v4
Expand Down
5 changes: 2 additions & 3 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 All @@ -20,7 +19,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GHCR_TOKEN }}
password: ${{ secrets.PACAKGE_UPDATE_KEY }}

- name: Build and push multi-platform Docker image
uses: docker/build-push-action@v4
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
Loading