Skip to content

Commit

Permalink
devops: update Docker base images
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt committed Oct 18, 2024
1 parent 6584311 commit bc40f51
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine as client-builder
FROM node:22-alpine as client-builder

WORKDIR /frontend

Expand Down
6 changes: 1 addition & 5 deletions worker-csharp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COPY worker-csharp/main.go /root/
COPY internal/ /root/internal/
RUN CGO_ENABLED=0 GOOS=linux go build -o /app

FROM mcr.microsoft.com/playwright/dotnet:v${PLAYWRIGHT_VERSION}-jammy
FROM mcr.microsoft.com/playwright/dotnet:v${PLAYWRIGHT_VERSION}-noble

ARG PLAYWRIGHT_VERSION
ENV PLAYWRIGHT_VERSION=$PLAYWRIGHT_VERSION
Expand All @@ -20,10 +20,6 @@ RUN apt-get remove -y git ssh xvfb curl && \

WORKDIR /home/pwuser/

# Nuke /tmp/.dotnet/ folder to avoid permission issues root != pwuser
# Workaround for https://github.com/dotnet/runtime/issues/80619
RUN rm -rf /tmp/.dotnet/

USER pwuser

RUN mkdir /home/pwuser/project/ && \
Expand Down
2 changes: 1 addition & 1 deletion worker-java/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COPY worker-java/main.go /root/
COPY internal/ /root/internal/
RUN CGO_ENABLED=0 GOOS=linux go build -o /app

FROM mcr.microsoft.com/playwright/java:v$PLAYWRIGHT_VERSION-jammy
FROM mcr.microsoft.com/playwright/java:v$PLAYWRIGHT_VERSION-noble

RUN apt-get remove -y git ssh xvfb curl && \
apt-get autoremove -y
Expand Down
2 changes: 1 addition & 1 deletion worker-javascript/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COPY worker-javascript/main.go /root/
COPY internal/ /root/internal/
RUN CGO_ENABLED=0 GOOS=linux go build -o /app

FROM mcr.microsoft.com/playwright:v${PLAYWRIGHT_VERSION}-jammy
FROM mcr.microsoft.com/playwright:v${PLAYWRIGHT_VERSION}-noble

ARG PLAYWRIGHT_VERSION
ENV PLAYWRIGHT_VERSION=$PLAYWRIGHT_VERSION
Expand Down
2 changes: 1 addition & 1 deletion worker-python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COPY worker-python/main.go /root/
COPY internal/ /root/internal/
RUN CGO_ENABLED=0 GOOS=linux go build -o /app

FROM mcr.microsoft.com/playwright/python:v${PLAYWRIGHT_VERSION}-jammy
FROM mcr.microsoft.com/playwright/python:v${PLAYWRIGHT_VERSION}-noble

ARG PLAYWRIGHT_VERSION
ENV PLAYWRIGHT_VERSION=$PLAYWRIGHT_VERSION
Expand Down

0 comments on commit bc40f51

Please sign in to comment.