Skip to content

Commit

Permalink
fix: release please build add systemtap (#9241)
Browse files Browse the repository at this point in the history
  • Loading branch information
adaniels-parabol authored Nov 28, 2023
1 parent 7367b94 commit 3e0aef3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ RUN git clone https://github.com/ParabolInc/parabol.git -b ${_PARABOL_GIT_REF} -
mv /home/node/.env ./.env && \
mkdir -p /home/node/parabol/node_modules && \
mkdir -p /home/node/.npm-global && \
apt update -y && \
apt install systemtap -y && \
NODE_OPTIONS=--max-old-space-size=20480 && \
yarn install --frozen-lockfile && \
yarn cache clean && \
Expand All @@ -38,7 +40,7 @@ COPY --from=base /usr/local/bin /usr/local/bin
COPY --from=base /usr/local/include /usr/local/include
COPY --from=base /usr/local/share/man /usr/local/share/man
COPY --from=base /usr/local/share/doc /usr/local/share/doc
COPY --from=base /usr/local/share/systemtap /usr/local/share/systemtap
COPY --from=base /usr/local/systemtap /usr/local/share/systemtap
COPY --from=base /usr/local/lib/node_modules /usr/local/lib/node_modules
COPY --from=base /opt /opt
COPY --from=base /home/node/parabol/ ${HOME}/parabol
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ FROM node:${_NODE_VERSION} as base
ENV NPM_CONFIG_PREFIX=/home/node/.npm-global
ENV PORT=3000

RUN apt update -y && \
apt install systemtap -y

USER node
EXPOSE ${PORT}

Expand All @@ -26,7 +29,7 @@ COPY --from=base /usr/local/bin /usr/local/bin
COPY --from=base /usr/local/include /usr/local/include
COPY --from=base /usr/local/share/man /usr/local/share/man
COPY --from=base /usr/local/share/doc /usr/local/share/doc
COPY --from=base /usr/local/share/systemtap /usr/local/share/systemtap
COPY --from=base /usr/local/systemtap /usr/local/share/systemtap
COPY --from=base /usr/local/lib/node_modules /usr/local/lib/node_modules
COPY --from=base /opt /opt

Expand Down

0 comments on commit 3e0aef3

Please sign in to comment.