Skip to content

Commit

Permalink
Update Docker to 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
solidpixel committed Jun 19, 2023
1 parent 6157a41 commit 2372d4c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 12 deletions.
2 changes: 1 addition & 1 deletion jenkins/build-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
ARTIFACTORY_URL=eu-west-1.artifactory.aws.arm.com
DOCKER_REGISTRY=mobile-studio--docker.${ARTIFACTORY_URL}
IMAGE_NAME=astcenc
IMAGE_VERSION=3.1.0
IMAGE_VERSION=3.2.0

# Check Artifactory credentials are set
if [[ -z "${ARTIFACTORY_CREDENTIALS}" ]]
Expand Down
11 changes: 2 additions & 9 deletions jenkins/build.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM ubuntu:18.04
FROM ubuntu:22.04

RUN useradd -u 1000 -U -m -c Jenkins jenkins

RUN apt update && apt -y upgrade \
&& apt install -y \
software-properties-common \
clang \
clang++-9 \
gcc \
g++ \
git \
cmake \
imagemagick \
make \
python3 \
Expand All @@ -31,10 +31,3 @@ RUN chmod 555 /tmp/coverity_install.sh && \
/tmp/coverity_install.sh -q --license.region=6 --license.agreement=agree --license.cov.path=/tmp/coverity_license.dat -dir /usr/local/cov-analysis && \
rm /tmp/coverity_*
ENV PATH="/usr/local/cov-analysis/bin:$PATH"

# Install up-to-date CMake, as standard Ubuntu 18.04 package is too old
RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null \
| gpg --dearmor - > /etc/apt/trusted.gpg.d/kitware.gpg
RUN apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main'
RUN apt-get update
RUN apt-get install -y cmake
2 changes: 1 addition & 1 deletion jenkins/nightly.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pipeline {
- name: artifactory-ms-docker
containers:
- name: astcenc
image: mobile-studio--docker.eu-west-1.artifactory.aws.arm.com/astcenc:3.1.0
image: mobile-studio--docker.eu-west-1.artifactory.aws.arm.com/astcenc:3.2.0
command:
- sleep
args:
Expand Down
2 changes: 1 addition & 1 deletion jenkins/release.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
- name: artifactory-ms-docker
containers:
- name: astcenc
image: mobile-studio--docker.eu-west-1.artifactory.aws.arm.com/astcenc:3.1.0
image: mobile-studio--docker.eu-west-1.artifactory.aws.arm.com/astcenc:3.2.0
command:
- sleep
args:
Expand Down

0 comments on commit 2372d4c

Please sign in to comment.