File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM node:20-alpine3.18 AS node
2- FROM mcr.microsoft.com/dotnet/sdk:7 .0-alpine3.18
1+ FROM node:22-alpine AS node
2+ FROM mcr.microsoft.com/dotnet/sdk:8 .0-alpine3.22
33
44COPY integrations/https-cert/rootCA.pem /root/integration-test.pem
55
Original file line number Diff line number Diff line change 1- FROM golang:1.20.5-alpine3.18
1+ FROM node:22-alpine AS node
2+ FROM golang:1.24-alpine3.22
23
34COPY integrations/https-cert/rootCA.pem /root/integration-test.pem
45
@@ -8,10 +9,10 @@ RUN apk --no-cache add ca-certificates && \
89 cp /root/integration-test.pem /usr/local/share/ca-certificates/ && \
910 update-ca-certificates
1011
11- # XXX: do we eventually need to care about getting an exact version of node
12- # here? If so, see the csharp container for how to do that
13- RUN apk update && \
14- apk add nodejs npm
12+ COPY --from=node /usr/local/bin/ node /usr/local/bin/
13+ COPY --from=node /usr/local/lib/node_modules /usr/local/lib/node_modules
14+ RUN ln -s ../lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm \
15+ && ln -s ../lib/node_modules/ npm/bin/npx-cli.js /usr/local/bin/npx
1516
1617WORKDIR /src
1718
Original file line number Diff line number Diff line change 1- FROM node:18 -alpine
1+ FROM node:22 -alpine
22
33COPY integrations/https-cert/rootCA.pem /root/integration-test.pem
44
Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ RUN apk --no-cache add ca-certificates && \
1616 update-ca-certificates
1717
1818RUN apk update && \
19- apk add nodejs npm php81 php81-fpm php81-opcache php81-curl
19+ apk add nodejs npm php83 php83-fpm php83-opcache php83-curl && \
20+ ln -sf /usr/bin/php83 /usr/bin/php
2021
2122WORKDIR /src
2223
Original file line number Diff line number Diff line change @@ -9,8 +9,7 @@ RUN apk --no-cache add ca-certificates && \
99 update-ca-certificates
1010
1111RUN apk update && \
12- apk add nodejs npm python3 py3-pip && \
13- pip install requests
12+ apk add nodejs npm python3 py3-requests
1413
1514WORKDIR /src
1615
Original file line number Diff line number Diff line change @@ -35,8 +35,10 @@ module.exports = {
3535 size : - 1 ,
3636 mimeType : 'application/json' ,
3737 text : JSON . stringify ( {
38- bar : 'baz' ,
39- foo : 'bar' ,
38+ cookies : {
39+ bar : 'baz' ,
40+ foo : 'bar' ,
41+ } ,
4042 } ) ,
4143 } ,
4244 headersSize : - 1 ,
You can’t perform that action at this time.
0 commit comments