Skip to content

Commit

Permalink
Move add-apt-repository call to Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Kris Jacque <kris.jacque@intel.com>
  • Loading branch information
kjacque committed Sep 27, 2024
1 parent b1ee4cf commit 11ac499
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 3 additions & 0 deletions utils/docker/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ RUN echo "APT::Get::Assume-Yes \"true\";" > /etc/apt/apt.conf.d/no-prompt
RUN echo "APT::Install-Recommends \"false\";" > /etc/apt/apt.conf.d/no-recommends
RUN apt-get update && \
apt-get upgrade && \
apt-get install gpg-agent software-properties-common && \
add-apt-repository ppa:longsleep/golang-backports && \
apt-get update && \
chmod +x /tmp/install.sh && \
/tmp/install.sh && \
apt-get clean all
Expand Down
5 changes: 0 additions & 5 deletions utils/scripts/install-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ set -e

arch=$(uname -i)

# DAOS requires newer golang version than the one available in core ubuntu repo
apt-get install gpg-agent software-properties-common
add-apt-repository ppa:longsleep/golang-backports
apt update

apt-get install \
autoconf \
build-essential \
Expand Down

0 comments on commit 11ac499

Please sign in to comment.