Skip to content

bwbohl/sencha-cmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sencha-cmd

Basic Information

This Docker image provides a build environment for Sencha ExtJS Apps. It is based on the ruby:2.7.4-bullseye Docker image and adds the following components:

  • temurin-8-jre
  • Apache Ant 1.10.12
  • SenchaCmd Community Edition 7.0.0.40
  • Sencha ExtJS GNU GPLv3 versions 5.1.1, 6.2.0, and 7.0.0 in the directory opt/Sencha

Available tags

The following stable dockerimage tags are available

  • v2.0.0 only support interactive execution of build
  • v2.1.0 now supports headless execution, e.g.,docker run --rm -it -v $(pwd):/app --name sencha sencha-cmd:local command

Container Registry

This image is being built automatically through GitHub Actions and published on DockerHub and the GitHub Container Registry daily and on pushed tags with a semantic version number (cf. https://semver.org). If a pull request is issued against the main branch of this repository, it will be built but not published.

Running the image published on the GitHub Container Registry

docker run --rm -it -v /ABSOLUTE/PATH/TO/SENCHA/APP:/app --name SOME-NAME ghcr.io/bwbohl/sencha-cmd:latest

The above command will pull the pre-built image from the GitHub Container Registry and run it on your system.

Building locally and running local image

You can clone or download this repository and then build and run the Docker image on your local machine. Please make sure you have installed Docker on your system.

Clone or Download

Please refer to the options GitHub is offering you above with the green button labelled “Code”.

Building

For building the container, please run the following command, replacing TAG-NAME with a docker tag of your liking:

docker build -t TAG-NAME .

e.g.

docker build -t sencha-cmd:local .

Running

To run the container built according to the above instructions, run the following command, replacing TAG-NAME with the tag name you used when executing the docker build command:

docker run --rm -it -v /ABSOLUTE/PATH/TO/SENCHA/APP:/app --name SOME-NAME TAG-NAME

Please replace /ABSOLUTE/PATH/TO/SENCHA/APP with the filesystem path to your sencha-app code to mount it under /app in the container.

Executing your sencha build

Either of the above ways of running the docker image will result in a bash prompt ‘inside’ the container image opened on your command line. Depending on your sencha-app’s build environment, you now should execute the respective build commands. The standard sencha build command syntax is:

sencha app build [production|testing|native|package]

For more details also refer to the Sencha Cmd Reference, Using Cmd with Ext JS 6, or the Sencha Cmd Docs in general.

License

This work is licensed under the terms of the GNU GPLv3.

About

Dockerimage for building apps with Sencha Cmd

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 3

  •  
  •  
  •