You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by gc...@apache.org on 2023/06/22 18:39:44 UTC
[allura] 01/01: [#8513] upgraded to the latest Ubuntu LTS 22.04 Jammy
This is an automated email from the ASF dual-hosted git repository.
gcruz pushed a commit to branch gc/8513
in repository https://gitbox.apache.org/repos/asf/allura.git
commit 8ce5f311bc719176aa937dad468900a968d54e6e
Author: Guillermo Cruz <gu...@slashdotmedia.com>
AuthorDate: Fri Jun 16 21:20:35 2023 +0000
[#8513] upgraded to the latest Ubuntu LTS 22.04 Jammy
---
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