File tree Expand file tree Collapse file tree 3 files changed +18
-8
lines changed Expand file tree Collapse file tree 3 files changed +18
-8
lines changed Original file line number Diff line number Diff line change @@ -168,9 +168,9 @@ COPY supervisord.conf /etc
168
168
# ===================================================
169
169
# Add the default self-signed certificate to the bundle CA
170
170
# ===================================================
171
- ARG CERT_TRUST_ATTR=TCu,Cu,Tu
171
+ # ARG CERT_TRUST_ATTR=TCu,Cu,Tu
172
172
COPY --chown="${SEL_UID}:${SEL_GID}" certs/add-cert-helper.sh certs/add-jks-helper.sh /opt/bin/
173
- COPY --chown="${SEL_UID}:${SEL_GID}" certs/tls.crt certs/tls.key certs/server.jks certs/server.pass /opt/selenium/secrets/
173
+ # COPY --chown="${SEL_UID}:${SEL_GID}" certs/tls.crt certs/tls.key certs/server.jks certs/server.pass /opt/selenium/secrets/
174
174
175
175
# ===================================================
176
176
# Add envsubst binary
@@ -194,8 +194,8 @@ RUN python3 -m venv $VENV_PATH \
194
194
&& $VENV_PATH/bin/python3 -m pip install --break-system-packages . \
195
195
&& rm -rf /tmp/supervisor.zip /tmp/supervisor-main
196
196
197
- RUN /opt/bin/add-jks-helper.sh -d /opt/selenium/secrets \
198
- && /opt/bin/add-cert-helper.sh -d /opt/selenium/secrets ${CERT_TRUST_ATTR}
197
+ # RUN /opt/bin/add-jks-helper.sh -d /opt/selenium/secrets \
198
+ # && /opt/bin/add-cert-helper.sh -d /opt/selenium/secrets ${CERT_TRUST_ATTR}
199
199
# ======================================
200
200
# Configure environement
201
201
# ======================================
Original file line number Diff line number Diff line change @@ -138,8 +138,8 @@ prepare_resources:
138
138
rm -rf ./Base/configs/node && mkdir -p ./Base/configs/node && cp -r ./charts/selenium-grid/configs/node ./Base/configs
139
139
140
140
gen_certs :
141
- rm -rf ./Base/certs && cp -r ./charts/selenium-grid/certs ./Base
142
- ./Base/certs/gen-cert-helper.sh -d ./Base/certs
141
+ rm -rf ./Base/certs && mkdir -p ./Base/certs && cp -r ./charts/selenium-grid/certs/ * .sh ./Base/certs
142
+ # ./Base/certs/gen-cert-helper.sh -d ./Base/certs
143
143
144
144
base : prepare_resources gen_certs
145
145
cd ./Base && SEL_PASSWD=$(SEL_PASSWD ) docker buildx build --platform $(PLATFORMS ) $(BUILD_ARGS ) --build-arg VERSION=$(BASE_VERSION ) --build-arg RELEASE=$(BASE_RELEASE ) --build-arg AUTHORS=$(AUTHORS ) \
@@ -297,9 +297,11 @@ all_browsers: node_base
297
297
cd .. ; \
298
298
cd ./NodeFirefox && docker buildx build --platform $(PLATFORMS ) $(BUILD_ARGS ) $(FROM_IMAGE_ARGS ) --build-arg BASE=node-all-browsers --build-arg FIREFOX_DOWNLOAD_URL=$(FIREFOX_DOWNLOAD_URL ) -t $(NAME ) /node-all-browsers:$(TAG_VERSION ) . ; \
299
299
cd .. ; \
300
- cd ./NodeChrome && docker buildx build --platform $(PLATFORMS ) $(BUILD_ARGS ) $(FROM_IMAGE_ARGS ) --build-arg BASE=node-all-browsers -t $(NAME ) /node-all-browsers:$(TAG_VERSION ) . ; \
300
+ cd ./NodeChrome && docker buildx build --platform $(PLATFORMS ) $(BUILD_ARGS ) $(FROM_IMAGE_ARGS ) --build-arg BASE=node-all-browsers -t $(NAME ) /node-all-browsers:$(TAG_VERSION ) . || true ; \
301
301
cd .. ; \
302
- cd ./NodeEdge && docker buildx build --platform $(PLATFORMS ) $(BUILD_ARGS ) $(FROM_IMAGE_ARGS ) --build-arg BASE=node-all-browsers -t $(NAME ) /node-all-browsers:$(TAG_VERSION ) . ; \
302
+ cd ./NodeEdge && docker buildx build --platform $(PLATFORMS ) $(BUILD_ARGS ) $(FROM_IMAGE_ARGS ) --build-arg BASE=node-all-browsers -t $(NAME ) /node-all-browsers:$(TAG_VERSION ) . || true ; \
303
+ cd .. ; \
304
+ cd ./NodeAllBrowsers && docker buildx build --platform $(PLATFORMS ) $(BUILD_ARGS ) $(FROM_IMAGE_ARGS ) --build-arg BASE=node-all-browsers -t $(NAME ) /node-all-browsers:$(TAG_VERSION ) . ; \
303
305
cd .. ;
304
306
305
307
standalone_all_browsers : all_browsers
Original file line number Diff line number Diff line change
1
+ ARG NAMESPACE=selenium
2
+ ARG VERSION=latest
3
+ ARG BASE
4
+ FROM ${NAMESPACE}/${BASE}:${VERSION}
5
+ ARG AUTHORS
6
+ LABEL authors=${AUTHORS}
7
+
8
+ ENV SE_OTEL_SERVICE_NAME="selenium-node"
You can’t perform that action at this time.
0 commit comments