alessandro trinca tornidor
commited on
Commit
·
d4e2b14
1
Parent(s):
cf53970
ci: docker, try installing nodejs from noble from sources
Browse files- Dockerfile +9 -1
Dockerfile
CHANGED
@@ -107,7 +107,15 @@ RUN ls -ld ${LAMBDA_TASK_ROOT}/.venv
|
|
107 |
RUN ls -lA ${LAMBDA_TASK_ROOT}/.venv
|
108 |
RUN ls -lA ${LAMBDA_TASK_ROOT}/docker_entrypoint.sh
|
109 |
RUN ls -lA ${LAMBDA_TASK_ROOT}/entrypoint.sh
|
110 |
-
RUN
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
RUN which node
|
112 |
RUN which npm
|
113 |
|
|
|
107 |
RUN ls -lA ${LAMBDA_TASK_ROOT}/.venv
|
108 |
RUN ls -lA ${LAMBDA_TASK_ROOT}/docker_entrypoint.sh
|
109 |
RUN ls -lA ${LAMBDA_TASK_ROOT}/entrypoint.sh
|
110 |
+
RUN cat /etc/lsb-release
|
111 |
+
# deb-src http://it.archive.ubuntu.com/ubuntu/ noble main universe restricted multiverse
|
112 |
+
# add-apt-repository "deb http://archive.ubuntu.com/ubuntu noble main universe restricted multiverse"
|
113 |
+
RUN echo "install software-properties-common ..."
|
114 |
+
RUN apt update && apt install software-properties-common -y
|
115 |
+
RUN echo "install nodejs from source ..."
|
116 |
+
RUN add-apt-repository "deb-src http://archive.ubuntu.com/ubuntu noble main universe restricted multiverse"
|
117 |
+
RUN apt update && apt build-dep nodejs && apt -b source -t noble nodejs && apt remove software-properties-common -y && \
|
118 |
+
apt autoremove && apt clean
|
119 |
RUN which node
|
120 |
RUN which npm
|
121 |
|