Skip to content

Commit

Permalink
add remove cache
Browse files Browse the repository at this point in the history
  • Loading branch information
ypoplavs committed Nov 2, 2023
1 parent 958d81b commit c56dd70
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 11 deletions.
6 changes: 4 additions & 2 deletions contrib/executor/cypress/build/agent/Dockerfile.cypress10
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ FROM cypress/included:10.7.0
COPY cypress /bin/runner
# run as a root in order to install to /root/cache and write to shared data volume

RUN apt-get update && apt-get install -y curl
RUN apt remove apt --autoremove -y --allow-remove-essential
RUN apt-get update && \
apt-get install -y curl && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN mkdir /home/runner

Expand Down
6 changes: 4 additions & 2 deletions contrib/executor/cypress/build/agent/Dockerfile.cypress11
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
FROM cypress/included:11.2.0
COPY cypress /bin/runner

RUN apt-get update && apt-get install -y curl
RUN apt remove apt --autoremove -y --allow-remove-essential
RUN apt-get update && \
apt-get install -y curl && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# run as a root in order to install to /root/cache and write to shared data volume

Expand Down
6 changes: 4 additions & 2 deletions contrib/executor/cypress/build/agent/Dockerfile.cypress12
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
FROM cypress/included:12.12.0
COPY cypress /bin/runner

RUN apt-get update && apt-get install -y curl
RUN apt remove apt --autoremove -y --allow-remove-essential
RUN apt-get update && \
apt-get install -y curl && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# run as a root in order to install to /root/cache and write to shared data volume
RUN mkdir /home/runner
Expand Down
6 changes: 4 additions & 2 deletions contrib/executor/cypress/build/agent/Dockerfile.cypress8
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ FROM cypress/included:8.7.0
COPY cypress /bin/runner
# run as a root in order to install to /root/cache and write to shared data volume

RUN apt-get update && apt-get install -y curl
RUN apt remove apt --autoremove -y --allow-remove-essential
RUN apt-get update && \
apt-get install -y curl && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN mkdir /home/runner

Expand Down
6 changes: 4 additions & 2 deletions contrib/executor/cypress/build/agent/Dockerfile.cypress9
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ FROM cypress/included:9.7.0
COPY cypress /bin/runner
# run as a root in order to install to /root/cache and write to shared data volume

RUN apt-get update && apt-get install -y curl
RUN apt remove apt --autoremove -y --allow-remove-essential
RUN apt-get update && \
apt-get install -y curl && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN mkdir /home/runner

Expand Down
2 changes: 1 addition & 1 deletion contrib/executor/cypress/build/agent/Dockerfile.npm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# libxtst6 \
# xauth \
# xvfb \
# it \
# git \
# curl
# RUN npm install -g cypress browserslist@latest
# syntax=docker/dockerfile:1
Expand Down

0 comments on commit c56dd70

Please sign in to comment.