Skip to content

Commit

Permalink
Install odb before cleaning apt package list (Ericsson#742)
Browse files Browse the repository at this point in the history
  • Loading branch information
Seeker04 committed May 25, 2024
1 parent a7b8e33 commit 488b2d2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docker/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,12 @@ RUN set -x && apt-get update -qq \
gcc-11 g++-11 \
&& ln -s /usr/bin/gcc-11 /usr/bin/gcc \
&& ln -s /usr/bin/g++-11 /usr/bin/g++ \
# Build ODB from source
&& sh /install_odb.sh && rm /install_odb.sh \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/ \
&& set +x

# Build ODB from source
RUN sh /install_odb.sh && rm /install_odb.sh

# Install NodeJS from NodeSource.
RUN mkdir -p /etc/apt/keyrings && \
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
Expand Down

0 comments on commit 488b2d2

Please sign in to comment.