This is an automated email from the ASF dual-hosted git repository.
gcruz pushed a commit to branch gc/docker-upgrade
in repository https://gitbox.apache.org/repos/asf/allura.git
The following commit(s) were added to refs/heads/gc/docker-upgrade by this push:
new e268a9d74 upgraded to the latest Ubuntu LTS
e268a9d74 is described below
commit e268a9d74f4dcb60286582ddd42c6c82432ca2d9
Author: Guillermo Cruz <[email protected]>
AuthorDate: Fri Jun 16 21:20:35 2023 +0000
upgraded to the latest Ubuntu LTS
---
Dockerfile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index 07519cb95..70b3d54a2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -15,16 +15,16 @@
# specific language governing permissions and limitations
# under the License.
-FROM ubuntu:18.04
+FROM ubuntu:22.04
ARG PY_VERSION=3.7
# Ubunutu 18.04's latest python is 3.6 (and Ubuntu 20.04's is 3.8)
# In order to get a different python, we must add the deadsnakes apt repo, and
install a specific version
RUN apt-get update \
- && apt-get install software-properties-common -y --no-install-recommends \
+ && apt-get install gpg gpg-agent software-properties-common -y
--no-install-recommends \
&& add-apt-repository ppa:deadsnakes/ppa -y \
- && add-apt-repository ppa:git-core/ppa -y \
+ #&& add-apt-repository ppa:git-core/ppa -y \
&& apt-get update
RUN apt-get upgrade -y git
@@ -55,7 +55,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y
--no-install-recommends \
ENV PYTHON_EXE=python$PY_VERSION
# up-to-date version of node & npm
-RUN curl --silent --location https://deb.nodesource.com/setup_10.x | sudo bash
- && \
+RUN curl --silent --location https://deb.nodesource.com/setup_14.x | sudo bash
- && \
DEBIAN_FRONTEND=noninteractive apt-get install --yes
--no-install-recommends nodejs
# Snapshot generation for SVN (and maybe other SCMs) might fail without this