From 19f694d172c2f1b46bdc9b7d137ccd765c868a4b Mon Sep 17 00:00:00 2001 From: Kevin Vo Date: Thu, 4 Sep 2025 16:02:34 -0700 Subject: [PATCH 1/2] Checkpoint from VS Code for coding agent session --- samples/flask-railpack/flask/.dockerignore | 27 +++++++++++++++++++ samples/flask-railpack/flask/cloudbuild.yaml | 16 ----------- samples/flask/flask/.dockerignore | 27 +++++++++++++++++++ .../app/.dockerignore | 27 +++++++++++++++++++ 4 files changed, 81 insertions(+), 16 deletions(-) create mode 100644 samples/flask-railpack/flask/.dockerignore delete mode 100644 samples/flask-railpack/flask/cloudbuild.yaml create mode 100644 samples/flask/flask/.dockerignore create mode 100644 samples/golang-http-form-railpack/app/.dockerignore diff --git a/samples/flask-railpack/flask/.dockerignore b/samples/flask-railpack/flask/.dockerignore new file mode 100644 index 000000000..74a7bf9e0 --- /dev/null +++ b/samples/flask-railpack/flask/.dockerignore @@ -0,0 +1,27 @@ +# Default .dockerignore file for Defang +**/__pycache__ +**/.direnv +**/.DS_Store +**/.envrc +**/.git +**/.github +**/.idea +**/.next +**/.vscode +**/compose.*.yaml +**/compose.*.yml +**/compose.yaml +**/compose.yml +**/docker-compose.*.yaml +**/docker-compose.*.yml +**/docker-compose.yaml +**/docker-compose.yml +**/node_modules +**/Thumbs.db +Dockerfile +*.Dockerfile +# Ignore our own binary, but only in the root to avoid ignoring subfolders +defang +defang.exe +# Ignore our project-level state +.defang \ No newline at end of file diff --git a/samples/flask-railpack/flask/cloudbuild.yaml b/samples/flask-railpack/flask/cloudbuild.yaml deleted file mode 100644 index 1eb27d01f..000000000 --- a/samples/flask-railpack/flask/cloudbuild.yaml +++ /dev/null @@ -1,16 +0,0 @@ -steps: - # Make the railpack plan - - name: 'gcr.io/cloudbuildtest-468719/railpack' - script: | - #!/usr/bin/env bash - railpack prepare \. --plan-out /workspace/railpack-plan.json --info-out /workspace/railpack-info.json - - # Docker build and push - - name: 'gcr.io/cloudbuildtest-468719/railpack' - script: | - #!/usr/bin/env bash - docker buildx create --use --driver=docker-container - docker buildx build -t gcr.io/cloudbuildtest-468719/railpack-flask --build-arg BUILDKIT_SYNTAX="ghcr.io/railwayapp/railpack-frontend" -f /workspace/railpack-plan.json --output type=docker,name=railpack-flask \. - automapSubstitutions: true -images: -- 'gcr.io/cloudbuildtest-468719/railpack-flask:latest' \ No newline at end of file diff --git a/samples/flask/flask/.dockerignore b/samples/flask/flask/.dockerignore new file mode 100644 index 000000000..74a7bf9e0 --- /dev/null +++ b/samples/flask/flask/.dockerignore @@ -0,0 +1,27 @@ +# Default .dockerignore file for Defang +**/__pycache__ +**/.direnv +**/.DS_Store +**/.envrc +**/.git +**/.github +**/.idea +**/.next +**/.vscode +**/compose.*.yaml +**/compose.*.yml +**/compose.yaml +**/compose.yml +**/docker-compose.*.yaml +**/docker-compose.*.yml +**/docker-compose.yaml +**/docker-compose.yml +**/node_modules +**/Thumbs.db +Dockerfile +*.Dockerfile +# Ignore our own binary, but only in the root to avoid ignoring subfolders +defang +defang.exe +# Ignore our project-level state +.defang \ No newline at end of file diff --git a/samples/golang-http-form-railpack/app/.dockerignore b/samples/golang-http-form-railpack/app/.dockerignore new file mode 100644 index 000000000..74a7bf9e0 --- /dev/null +++ b/samples/golang-http-form-railpack/app/.dockerignore @@ -0,0 +1,27 @@ +# Default .dockerignore file for Defang +**/__pycache__ +**/.direnv +**/.DS_Store +**/.envrc +**/.git +**/.github +**/.idea +**/.next +**/.vscode +**/compose.*.yaml +**/compose.*.yml +**/compose.yaml +**/compose.yml +**/docker-compose.*.yaml +**/docker-compose.*.yml +**/docker-compose.yaml +**/docker-compose.yml +**/node_modules +**/Thumbs.db +Dockerfile +*.Dockerfile +# Ignore our own binary, but only in the root to avoid ignoring subfolders +defang +defang.exe +# Ignore our project-level state +.defang \ No newline at end of file From 9d3ef96bf4a0485e9584887bbb0471edcd20da92 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 4 Sep 2025 23:02:40 +0000 Subject: [PATCH 2/2] Initial plan