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
168168# ===================================================
169169# Add the default self-signed certificate to the bundle CA
170170# ===================================================
171- ARG CERT_TRUST_ATTR=TCu,Cu,Tu
171+ # ARG CERT_TRUST_ATTR=TCu,Cu,Tu
172172COPY --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/
174174
175175# ===================================================
176176# Add envsubst binary
@@ -194,8 +194,8 @@ RUN python3 -m venv $VENV_PATH \
194194 && $VENV_PATH/bin/python3 -m pip install --break-system-packages . \
195195 && rm -rf /tmp/supervisor.zip /tmp/supervisor-main
196196
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}
199199# ======================================
200200# Configure environement
201201# ======================================
Original file line number Diff line number Diff line change @@ -138,8 +138,8 @@ prepare_resources:
138138 rm -rf ./Base/configs/node && mkdir -p ./Base/configs/node && cp -r ./charts/selenium-grid/configs/node ./Base/configs
139139
140140gen_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
143143
144144base : prepare_resources gen_certs
145145 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
297297 cd .. ; \
298298 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 ) . ; \
299299 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 ; \
301301 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 ) . ; \
303305 cd .. ;
304306
305307standalone_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