You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by oc...@apache.org on 2022/11/01 22:18:56 UTC

[trafficcontrol] branch master updated: Pin node version in dev ciab TP/TPv2 (#7164)

This is an automated email from the ASF dual-hosted git repository.

ocket8888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
     new be6a58ef6a Pin node version in dev ciab TP/TPv2 (#7164)
be6a58ef6a is described below

commit be6a58ef6a1e255825195684972e4acdf7eb60a4
Author: Steve Hamrick <sh...@users.noreply.github.com>
AuthorDate: Tue Nov 1 16:18:48 2022 -0600

    Pin node version in dev ciab TP/TPv2 (#7164)
    
    * Pin node version
    
    * Use 14
---
 dev/tpv2/Dockerfile           | 2 +-
 dev/traffic_portal/Dockerfile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev/tpv2/Dockerfile b/dev/tpv2/Dockerfile
index df634e90fd..b771b5da25 100644
--- a/dev/tpv2/Dockerfile
+++ b/dev/tpv2/Dockerfile
@@ -22,7 +22,7 @@ RUN openssl genrsa -passout pass:x -out server.pass.key 2048 && \
 	openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt && \
 	openssl rand 32 | base64 > /aes.key
 
-FROM node:alpine AS tpv2-dev
+FROM node:14-bullseye AS tpv2-dev
 
 ENV TC="/root/go/src/github.com/apache/trafficcontrol/"
 VOLUME /root/go/src/github.com/apache/trafficcontrol
diff --git a/dev/traffic_portal/Dockerfile b/dev/traffic_portal/Dockerfile
index ff942c82b5..6cd5327eaf 100644
--- a/dev/traffic_portal/Dockerfile
+++ b/dev/traffic_portal/Dockerfile
@@ -21,7 +21,7 @@ RUN openssl genrsa -passout pass:x -out server.pass.key 2048 && \
 	openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt && \
 	openssl rand 32 | base64 > /aes.key
 
-FROM node:alpine AS trafficportal-dev
+FROM node:14-bullseye AS trafficportal-dev
 
 ENV TC="/root/go/src/github.com/apache/trafficcontrol/"
 VOLUME /root/go/src/github.com/apache/trafficcontrol