Skip to content

Commit

Permalink
chore(ci): update docker based actions
Browse files Browse the repository at this point in the history
  • Loading branch information
thisislawatts committed Jan 6, 2025
1 parent aa38397 commit 90bbfbc
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
3 changes: 1 addition & 2 deletions test/smoke/alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
FROM shellspec/shellspec:latest
FROM alpine:latest

COPY ./smoke/ /snyk/smoke/
COPY ./fixtures/ /snyk/fixtures/

RUN shellspec --version
RUN apk add curl jq libgcc libstdc++

# Install Gradle
Expand Down
4 changes: 1 addition & 3 deletions test/smoke/alpine/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@
curl -Lo ./snyk-cli 'https://downloads.snyk.io/cli/latest/snyk-alpine'
chmod -R +x ./snyk-cli
mv ./snyk-cli /usr/local/bin/snyk
snyk --version

shellspec -f d
snyk --version
1 change: 0 additions & 1 deletion test/smoke/docker-root/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ RUN apt-get install -y wget unzip \
&& unzip -d /opt/gradle /tmp/gradle-7.2-bin.zip \
&& ln -s /opt/gradle/gradle-7.2/bin/gradle /usr/bin/gradle

RUN /snyk/smoke/install-shellspec.sh --yes
ENV PATH="/root/.local/bin:${PATH}"

WORKDIR /snyk/smoke/
Expand Down
3 changes: 1 addition & 2 deletions test/smoke/docker-root/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ whoami
npm --version
npm install snyk -g
snyk --version
su node -c "snyk --version"
shellspec -f d
su node -c "snyk --version"

0 comments on commit 90bbfbc

Please sign in to comment.