Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Added support for azure and google cli in compose #11

Merged
merged 2 commits into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 0 additions & 29 deletions .circleci/config.yml

This file was deleted.

47 changes: 25 additions & 22 deletions .docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ ENV LC_ALL=en_US.UTF-8
ENV DEBIAN_FRONTEND=noninteractive

###
ENV PHP_VERSION=8.3.10
ENV PACKER_VERSION=1.11.2
ENV TERRAFORM_VERSION=1.9.5
ENV ANSIBLE_VERSION=10.3.0
Expand Down Expand Up @@ -35,6 +34,10 @@ RUN chsh -s `which bash` ubuntu
RUN usermod -d /home/ubuntu ubuntu
RUN mkdir -p /home/ubuntu
RUN mkdir -p /home/ubuntu/.ssh
RUN mkdir -p /home/ubuntu/.aws && \
touch /home/ubuntu/.aws/credentials
RUN mkdir -p /home/ubuntu/.azure && \
mkdir -p /home/ubuntu/.config/gcloud/
RUN chmod 755 /home/ubuntu/.ssh
RUN chown -R ubuntu:ubuntu /home/ubuntu
RUN chmod 755 /home/ubuntu
Expand All @@ -50,26 +53,26 @@ RUN add-apt-repository ppa:longsleep/golang-backports
RUN apt remove -y python3
RUN apt update && apt upgrade -y
RUN apt install -y \
curl \
git \
zip \
unzip \
vim \
ruby-full \
openssh-server \
zsh \
figlet \
sysvbanner \
htop \
python3-pip \
wget \
ca-certificates \
openssl \
yamllint \
inetutils-ping \
telnet \
golang-go \
libssl-dev \
curl \
git \
zip \
unzip \
vim \
ruby-full \
openssh-server \
zsh \
figlet \
sysvbanner \
htop \
python3-pip \
wget \
ca-certificates \
openssl \
yamllint \
inetutils-ping \
telnet \
golang-go \
libssl-dev \
apt-transport-https \
ca-certificates \
gnupg
Expand All @@ -93,7 +96,7 @@ RUN pip install ansible==${ANSIBLE_VERSION} \
pip \
yamllint

#terraform
#terraform
RUN cd /tmp && \
wget https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip && \
unzip -o terraform_${TERRAFORM_VERSION}_linux_amd64.zip -d /usr/bin && \
Expand Down
6 changes: 6 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,15 @@ services:
- ~/.zsh_history:/home/ubuntu/.zsh_history
- ~/.gitconfig:/home/ubuntu/.gitconfig
- ~/.kube:/home/ubuntu/.kube
- ~/.azure:/home/ubuntu/.azure
- ~/.config/gcloud:/home/ubuntu/.config/gcloud
networks:
dev_net_devops:
ipv4_address: 10.13.0.13
command: >
sh -c "chown -R ubuntu:ubuntu /home/ubuntu/ &&
service ssh start &&
su ubuntu -c 'tail -f /dev/null'"

networks:
dev_net_devops:
Expand Down
Loading