Skip to content

Commit df44bfb

Browse files
committed
Update earthfile to ubuntu 22.04
1 parent 659d200 commit df44bfb

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Earthfile

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
VERSION 0.6
2-
ARG UBUNTU_RELEASE=focal
2+
ARG UBUNTU_RELEASE=jammy
33
FROM mcr.microsoft.com/vscode/devcontainers/base:0-$UBUNTU_RELEASE
44
ARG DEVCONTAINER_IMAGE_NAME_DEFAULT=haxe/haxelib_devcontainer_workspace
55
ARG HAXELIB_SERVER_IMAGE_NAME_DEFAULT=haxe/lib.haxe.org
@@ -34,7 +34,7 @@ neko:
3434

3535
haxe:
3636
ARG FILENAME=haxe.tar.gz
37-
RUN curl -fsSL "https://github.com/HaxeFoundation/haxe/releases/download/4.3.4/haxe-4.3.4-linux64.tar.gz" -o "$FILENAME"
37+
RUN curl -fsSL "https://github.com/HaxeFoundation/haxe/releases/download/4.3.6/haxe-4.3.6-linux64.tar.gz" -o "$FILENAME"
3838
RUN mkdir -p haxe
3939
RUN tar --strip-components=1 -xf "$FILENAME" -C haxe
4040
SAVE ARTIFACT haxe/*
@@ -412,7 +412,7 @@ tora:
412412
SAVE ARTIFACT /workspace/haxelib_global/tora/*/run.n
413413

414414
haxelib-server:
415-
FROM phusion/baseimage:focal-1.1.0
415+
FROM phusion/baseimage:jammy-1.0.4
416416

417417
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y software-properties-common \
418418
&& add-apt-repository ppa:haxe/releases -y \
@@ -422,6 +422,7 @@ haxelib-server:
422422
apache2 \
423423
neko \
424424
libapache2-mod-neko \
425+
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32 \
425426
&& echo "deb http://security.ubuntu.com/ubuntu bionic-security main" >> /etc/apt/sources.list \
426427
&& apt-get update \
427428
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
@@ -559,7 +560,7 @@ ci-images:
559560
--GIT_SHA="$GIT_SHA"
560561

561562
s3fs-image:
562-
FROM ubuntu:focal
563+
FROM ubuntu:jammy
563564
RUN apt-get update \
564565
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
565566
s3fs \
@@ -575,7 +576,7 @@ gh-ost-deb:
575576
SAVE ARTIFACT gh-ost.deb
576577

577578
gh-ost-image:
578-
FROM ubuntu:focal
579+
FROM ubuntu:jammy
579580
ARG GHOST_VERSION=1.1.2
580581
COPY (+gh-ost-deb/gh-ost.deb --GHOST_VERSION="$GHOST_VERSION") .
581582
RUN apt-get install ./gh-ost.deb \
@@ -589,7 +590,7 @@ curl-file:
589590
SAVE ARTIFACT "$FILENAME"
590591

591592
ghostferry-copydb-image:
592-
FROM ubuntu:focal
593+
FROM ubuntu:jammy
593594
ARG GHOSTFERRY_COMMIT="ce94688"
594595
ARG GHOSTFERRY_BUILD="1.1.0+20220112142231+ce94688"
595596
COPY (+curl-file/* --URL="https://github.com/Shopify/ghostferry/releases/download/release-${GHOSTFERRY_COMMIT}/ghostferry-copydb_${GHOSTFERRY_BUILD}.deb" --FILENAME=ghostferry-copydb.deb) .

0 commit comments

Comments
 (0)