Skip to content

Conversation

@TarunShekhar
Copy link

Introduces a GitHub Actions workflow for building and pushing a Docker image for the App Inventor project, triggered manually on the develop branch. Adds a Dockerfile to create a runtime image with the built artifacts and App Engine SDK, enabling local server execution.

General items:

If your code changes how something works on the device (i.e., it affects the companion):

  • I branched from ucr
  • My pull request has ucr as the base

Further, if you've changed the blocks language or another user-facing designer/blocks API (added a SimpleProperty, etc.):

  • I have updated the corresponding version number in appinventor/components/src/.../common/YaVersion.java
  • I have updated the corresponding upgrader in appinventor/appengine/src/.../client/youngandroid/YoungAndroidFormUpgrader.java (components only)
  • I have updated the corresponding entries in appinventor/blocklyeditor/src/versioning.js

For all other changes:

  • I branched from master
  • My pull request has master as the base

What does this PR accomplish?

Description

Fixes # .

Resolves # .

Introduces a GitHub Actions workflow for building and pushing Docker images, adds a Dockerfile for runtime configuration, and replaces the codi-logo.svg and codi-logo-dark.svg files with new versions.
Introduces a GitHub Actions workflow for building and pushing a Docker image for the App Inventor project, triggered manually on the develop branch. Adds a Dockerfile to create a runtime image with the built artifacts and App Engine SDK, enabling local server execution.
@AppInventorWorkerBee
Copy link
Collaborator

Can one of the admins verify this patch?

1 similar comment
@AppInventorWorkerBee
Copy link
Collaborator

Can one of the admins verify this patch?

TarunShekhar and others added 23 commits October 27, 2025 12:39
Changed the workflow trigger condition to run when the ref is 'refs/heads/develop' instead of the previous feature branch.
Changed the Dockerfile to copy and reference the war directory from appinventor/appengine/build/war instead of appinventor/build/war, ensuring the correct build artifacts are used for the local server.
Changed the server WAR path from /appinventor/build/war to /appinventor/appengine/build/war and replaced --address with --host in the CMD instruction to align with updated server configuration.
Switches the container entrypoint from directly invoking the Java DevAppServerMain class to using the dev_appserver.sh script. This improves compatibility and aligns with standard App Engine development server usage.
Refactor Dockerfile to use multi-stage builds for better separation of build and runtime environments. Added extraction of Google Cloud SDK in the builder stage.
Replaced copying of Google Cloud SDK directories with symbolic links for app engine and java dev app server.
Refactors the Dockerfile to use a multi-stage build for installing the Google Cloud SDK, reducing image size and improving build efficiency. Only necessary components for App Engine Java are included, and unused parts of the SDK are stripped out. Updates the PATH and ensures required Python binaries are available in the final image.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants