Skip to content

Commit

Permalink
Handle kustomize for both older and newer php version base images. Pu…
Browse files Browse the repository at this point in the history
…t yarn back in place.
  • Loading branch information
tekante committed May 7, 2024
1 parent 65fe011 commit b2541dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ RUN curl -s https://get.helm.sh/helm-v3.6.2-linux-"$(dpkg --print-architecture)"

# Install Kustomize
# https://kubectl.docs.kubernetes.io/installation/kustomize/binaries/
RUN cd /bin/ && curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash && mv /usr/kustomize /bin
RUN cd /bin/ && curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash && if [ -e /usr/kustomize ]; then mv /usr/kustomize /bin; fi

# Install AWS cli
COPY awscli.pubkey /tmp/
Expand Down Expand Up @@ -52,7 +52,7 @@ SHELL ["/bin/bash", "-c"]
# Install additional global npm dependencies
RUN \
# Initialize the user environment (this loads nvm)
. "$HOME"/.profile
. "$HOME"/.profile && npm install -g yarn

# IMPORTANT! Switching back to the root user as the last instruction.
USER root

0 comments on commit b2541dd

Please sign in to comment.