Skip to content

Commit

Permalink
- Docker is installed to resolve issue dockerhug -> ecr image handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaellh0079 committed Apr 22, 2024
1 parent 6527e54 commit a60d843
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ RUN apt-get -y update && \
apt-get install -y zip rsync && \
apt-get install -y nano

RUN apt-get install ca-certificates curl -y
RUN install -m 0755 -d /etc/apt/keyrings
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
RUN chmod a+r /etc/apt/keyrings/docker.asc
RUN echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
tee /etc/apt/sources.list.d/docker.list > /dev/null
RUN apt-get update
RUN apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y

RUN pip install pytest && \
pip install awscli --upgrade

Expand All @@ -24,8 +35,6 @@ USER bamboo
ENV HOME=/home/bamboo
WORKDIR $HOME/workstation



# Adding dummy build.sh that needs to be overwritten
COPY entrypoint.sh $HOME/entrypoint.sh
ENTRYPOINT [ "/bin/bash", "/home/bamboo/entrypoint.sh"]
Expand Down

0 comments on commit a60d843

Please sign in to comment.