Skip to content

Commit

Permalink
Merge pull request #12 from productsupcom/DEV-18195
Browse files Browse the repository at this point in the history
Dev 18195
  • Loading branch information
khelmrich authored Aug 6, 2024
2 parents 0d7bb2e + 4e95045 commit cb9cb31
Show file tree
Hide file tree
Showing 23 changed files with 1,755 additions and 467 deletions.
5 changes: 5 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
APP_ENV=prod
FILE_NAME=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_BUCKET=
AWS_REGION=
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ COPY config/ ./config
COPY bin/ ./bin
COPY .env composer.json composer.lock symfony.lock ./

RUN apt-get update && apt-get install -y jq

RUN wget https://github.com/duckdb/duckdb/releases/download/v1.0.0/duckdb_cli-linux-amd64.zip \
&& unzip duckdb_cli-linux-amd64.zip -d /usr/local/bin \
&& rm duckdb_cli-linux-amd64.zip
RUN duckdb -s "INSTALL json;LOAD json;"

ARG COMPOSER_AUTH=local
RUN composer install --no-dev
RUN bin/console cache:warmup --env=prod
Expand Down
11 changes: 11 additions & 0 deletions Dockerfile-dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM docker.productsup.com/cde/cde-php-cli-dev:8.3


RUN apt-get update && apt-get install -y jq
RUN apt-get install -y wget unzip

RUN wget https://github.com/duckdb/duckdb/releases/download/v1.0.0/duckdb_cli-linux-amd64.zip \
&& unzip duckdb_cli-linux-amd64.zip -d /usr/local/bin \
&& rm duckdb_cli-linux-amd64.zip
RUN duckdb -s "INSTALL json;LOAD json;"

5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
"php": ">=8.3",
"ext-ctype": "*",
"ext-iconv": "*",
"async-aws/s3": "*",
"league/flysystem": "^3.28",
"league/flysystem-async-aws-s3": "*",
"league/flysystem-aws-s3-v3": "^3.28",
"league/flysystem-bundle": "*",
"productsupcom/dk-core-bundle": "v0.0.*",
"productsupcom/lib-dk-testing": "v0.0.*",
"symfony/console": "7.0.*",
Expand Down
Loading

0 comments on commit cb9cb31

Please sign in to comment.