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

Patch ci-builder image #201

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
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
10 changes: 5 additions & 5 deletions images/ci-builder/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM hashicorp/terraform:light AS terraform
FROM php:7.4-cli-alpine
ARG AHOY_VERSION=2.0.0
FROM php:8.1-cli-alpine
ARG AHOY_VERSION=2.1.1
ARG GOJQ_VERSION=0.12.4
ARG HUB_VERSION=2.14.2
ARG LAGOON_CLI_VERSION=0.10.0
ARG LAGOON_CLI_VERSION=v0.19.0

# Ensure temp files dont end up in image.
VOLUME /tmp
Expand Down Expand Up @@ -61,7 +61,7 @@ RUN apk add --no-cache \
&& docker-php-ext-install -j$(nproc) gd

# Install Lagoon CLI.
RUN curl -L "https://github.com/amazeeio/lagoon-cli/releases/download/${LAGOON_CLI_VERSION}/lagoon-cli-${LAGOON_CLI_VERSION}-linux-amd64" -o /usr/local/bin/lagoon && \
RUN curl -L "https://github.com/uselagoon/lagoon-cli/releases/download/${LAGOON_CLI_VERSION}/lagoon-cli-${LAGOON_CLI_VERSION}-linux-amd64" -o /usr/local/bin/lagoon && \
chmod +x /usr/local/bin/lagoon
RUN lagoon config feature --disable-project-directory-check true

Expand All @@ -78,7 +78,7 @@ RUN curl -L -o "/usr/local/bin/ahoy" "https://github.com/ahoy-cli/ahoy/releases/
&& ahoy --version

# Install bats and shellcheck.
RUN npm install -g bats@1.2.1
RUN npm install -g bats@1.10.0
RUN apk add --no-cache shellcheck

# Cleanup tmp when we're done.
Expand Down