Skip to content

Commit

Permalink
[docker] Add support for Ubuntu Noble
Browse files Browse the repository at this point in the history
Signed-off-by: Mariusz Zaborski <[email protected]>
  • Loading branch information
oshogbo committed Oct 31, 2024
1 parent e2c3165 commit 6be2b4a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packaging/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ARG UBUNTU_CODENAME=focal
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y curl gnupg2 binutils

RUN curl -fsSLo /usr/share/keyrings/gramine-keyring.gpg https://packages.gramineproject.io/gramine-keyring.gpg && \
RUN curl -fsSLo /usr/share/keyrings/gramine-keyring.gpg https://packages.gramineproject.io/gramine-keyring-${UBUNTU_CODENAME}.gpg && \
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/gramine-keyring.gpg] https://packages.gramineproject.io/ '${UBUNTU_CODENAME}' main' > /etc/apt/sources.list.d/gramine.list

RUN curl -fsSLo /usr/share/keyrings/intel-sgx-deb.key https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key && \
Expand Down
6 changes: 5 additions & 1 deletion packaging/docker/build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

usage() {
echo "Usage: build.sh [ubuntu20,ubuntu22]"
echo "Usage: build.sh [ubuntu20,ubuntu22,ubuntu24]"
exit 1
}

Expand All @@ -21,6 +21,10 @@ case "$1" in
image="ubuntu:22.04"
codename="jammy"
;;
ubuntu24)
image="ubuntu:24.04"
codename="noble"
;;
*)
usage
;;
Expand Down

0 comments on commit 6be2b4a

Please sign in to comment.