Skip to content

Commit

Permalink
fix(amazonlinux): epel does not exist in amazonlinux, so we make it c…
Browse files Browse the repository at this point in the history
…onditional
  • Loading branch information
javierbertoli committed Nov 16, 2019
1 parent 802c979 commit 51de7b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.yum
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ARG EXTRA_PACKAGES=""
ARG PKGS="udev git net-tools sudo curl openssh-server openssh-clients which $EXTRA_PACKAGES"

# Centos 7 and 6 requires EPEL repo before being able to install python2-pip
RUN [ "$DISTRO_NAME" = "centos" ] && yum -y install epel-release
RUN if [ "$DISTRO_NAME" = "centos" ]; then yum -y install epel-release; fi
RUN yum -y update && yum -y install ${PKGS}

# The sed command is a quick fix for https://github.com/saltstack/salt-bootstrap/issues/1371
Expand Down

0 comments on commit 51de7b7

Please sign in to comment.