Skip to content

Commit

Permalink
TEST
Browse files Browse the repository at this point in the history
  • Loading branch information
yndajas committed Nov 15, 2023
1 parent 091029d commit 819e975
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@
FROM ruby:3.2.2 as base
LABEL org.opencontainers.image.authors="[email protected]"

RUN \
apt-get update && \
apt-get install -y ca-certificates curl gnupg && \
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | \
gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | \
tee /etc/apt/sources.list.d/nodesource.list && \
apt-get update && \
apt-get install nodejs -y && \
npm install --global yarn

RUN \
apt-get update && \
apt-get install -y --fix-missing --no-install-recommends \
Expand All @@ -24,17 +35,6 @@ FROM base AS dependencies

WORKDIR ${DEPS_HOME}

RUN \
apt-get update && \
apt-get install -y ca-certificates curl gnupg && \
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | \
gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | \
tee /etc/apt/sources.list.d/nodesource.list && \
apt-get update && \
apt-get install nodejs -y && \
npm install --global yarn

# Install Ruby dependencies
ENV BUNDLE_GEM_GROUPS ${RAILS_ENV}

Expand Down

0 comments on commit 819e975

Please sign in to comment.