Skip to content

Commit

Permalink
Fixing installation in dockerfile configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroc0d3 committed Nov 30, 2022
1 parent 09ab05a commit 9bbab89
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 16 deletions.
16 changes: 9 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,16 @@ ENV LOG_CHANNEL=stderr

USER root
RUN apk add --no-cache \
build-base \
git \
bash \
curl \
zip \
unzip \
wget; sync

RUN apk add --no-cache \
build-base \
bash \
jq \
wget \
ca-certificates \
openssl \
openssh \
Expand All @@ -62,8 +66,6 @@ RUN apk add --no-cache \
gcompat \
groff \
cmake \
zip \
unzip \
libffi-dev \
bzip2-dev \
python3 \
Expand All @@ -75,8 +77,8 @@ RUN apk add --no-cache \
# Install AWSCli v2 #
# =================== #
# RUN curl -s https://awscli.amazonaws.com/awscli-exe-linux-x86_64-${AWS_CLI_VERSION}.zip -o awscliv2.zip &&\
# unzip awscliv2.zip &&\
# ./aws/install; sync
# unzip awscliv2.zip; sync &&\
# ./aws/install --bin-dir /usr/local/bin/; sync
COPY --from=devopscorner/aws-cli:latest /usr/local/aws-cli/ /usr/local/aws-cli/
COPY --from=devopscorner/aws-cli:latest /usr/local/bin/ /usr/local/bin/

Expand Down
16 changes: 9 additions & 7 deletions Dockerfile-Laravel-9
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,16 @@ ENV LOG_CHANNEL=stderr

USER root
RUN apk add --no-cache \
build-base \
git \
bash \
curl \
zip \
unzip \
wget; sync

RUN apk add --no-cache \
build-base \
bash \
jq \
wget \
ca-certificates \
openssl \
openssh \
Expand All @@ -62,8 +66,6 @@ RUN apk add --no-cache \
gcompat \
groff \
cmake \
zip \
unzip \
libffi-dev \
bzip2-dev \
python3 \
Expand All @@ -75,8 +77,8 @@ RUN apk add --no-cache \
# Install AWSCli v2 #
# =================== #
# RUN curl -s https://awscli.amazonaws.com/awscli-exe-linux-x86_64-${AWS_CLI_VERSION}.zip -o awscliv2.zip &&\
# unzip awscliv2.zip &&\
# ./aws/install; sync
# unzip awscliv2.zip; sync &&\
# ./aws/install --bin-dir /usr/local/bin/; sync
COPY --from=devopscorner/aws-cli:latest /usr/local/aws-cli/ /usr/local/aws-cli/
COPY --from=devopscorner/aws-cli:latest /usr/local/bin/ /usr/local/bin/

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ Laravel Kubernetes (EKS) Deployment Tools

## Available Tags

| Container | Pulls |
|------------|------|
| Containers | Pulls |
|-------------|-------|
| Container `devopscorner/phpfpm` [Tags](docs/README-PHPFpm.md) | [![phpfpm pulls](https://img.shields.io/docker/pulls/devopscorner/phpfpm.svg?label=phpfpm%20pulls&logo=php)](https://hub.docker.com/r/devopscorner/phpfpm/) |
| Container `devopscorner/laravel` [Tags](docs/README-Laravel.md) | [![laravel pulls](https://img.shields.io/docker/pulls/devopscorner/laravel.svg?label=laravel%20pulls&logo=laravel)](https://hub.docker.com/r/devopscorner/laravel/) |

Expand Down

0 comments on commit 9bbab89

Please sign in to comment.