Skip to content

Commit

Permalink
Add AWS cli
Browse files Browse the repository at this point in the history
  • Loading branch information
jessedearing committed Aug 28, 2024
1 parent 0beb4ca commit efdf85a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN ln -snf /usr/share/zoneinfo/US/Pacific /etc/localtime && \
apt update && \
apt install -y zsh mariadb-client postgresql-client dnsutils netcat-traditional jq \
neovim curl gnupg openjdk-21-jre-headless tcpdump rclone sysstat socat conntrack \
sudo sshpass iproute2 && \
sudo sshpass iproute2 unzip && \
curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.29/deb/Release.key | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg && \
echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.29/deb/ /' | tee /etc/apt/sources.list.d/kubernetes.list && \
apt update && \
Expand All @@ -24,7 +24,12 @@ RUN ln -snf /usr/share/zoneinfo/US/Pacific /etc/localtime && \
rm -rf /var/lib/dpkg/info/* && \
echo "set editing-mode vi" | tee -a /etc/inputrc && \
echo "set keymap vi" | tee -a /etc/inputrc && \
echo "ubuntu ALL=(ALL) NOPASSWD: ALL" | tee /etc/sudoers.d/ubuntu-root
echo "ubuntu ALL=(ALL) NOPASSWD: ALL" | tee /etc/sudoers.d/ubuntu-root && \
curl "https://awscli.amazonaws.com/awscli-exe-linux-$(uname -m).zip" -o "awscliv2.zip" && \
unzip awscliv2.zip && \
sudo ./aws/install && \
rm -rf awscliv2.zip aws


COPY tools/check-clock-skew.sh /usr/local/bin/check-clock-skew.sh
COPY --from=cloudsql /cloud-sql-proxy /usr/local/bin/cloud-sql-proxy
Expand Down

0 comments on commit efdf85a

Please sign in to comment.