Skip to content

Commit

Permalink
Fix script paths
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsauter committed Sep 22, 2023
1 parent 6208caf commit 05a77c1
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions build/images/Dockerfile.node18-npm-toolset
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,14 @@ RUN mkdir -p /.npm $HOME/.npm-global/lib && \
chmod -R g=u /app /.npm $HOME

# Add scripts
COPY build/package/scripts/build-npm.sh /usr/local/bin/build-npm
COPY build/package/scripts/cache-build.sh /usr/local/bin/cache-build
COPY build/package/scripts/copy-build-if-cached.sh /usr/local/bin/copy-build-if-cached
COPY build/package/scripts/copy-artifacts.sh /usr/local/bin/copy-artifacts
COPY build/package/scripts/supply-sonar-project-properties-default.sh /usr/local/bin/supply-sonar-project-properties-default
COPY build/package/scripts/build.sh /usr/local/bin/build-npm
ADD https://raw.githubusercontent.com/opendevstack/ods-pipeline/master/build/package/scripts/cache-build.sh /usr/local/bin/cache-build
ADD https://raw.githubusercontent.com/opendevstack/ods-pipeline/master/build/package/scripts/copy-build-if-cached.sh /usr/local/bin/copy-build-if-cached
ADD https://raw.githubusercontent.com/opendevstack/ods-pipeline/master/build/package/scripts/copy-artifacts.sh /usr/local/bin/copy-artifacts
RUN chmod +x /usr/local/bin/build-npm && \
chmod +x /usr/local/bin/cache-build && \
chmod +x /usr/local/bin/copy-build-if-cached && \
chmod +x /usr/local/bin/copy-artifacts && \
chmod +x /usr/local/bin/supply-sonar-project-properties-default

# Add sonar-project.properties
COPY build/package/sonar-project.properties.d/npm.properties /usr/local/default-sonar-project.properties
chmod +x /usr/local/bin/copy-artifacts

VOLUME /workspace/source
# Ensure that file permissions do not prevent Git checkout into workspace.
Expand Down

0 comments on commit 05a77c1

Please sign in to comment.