Dockerfile for setting up Docker container with Jetty installed as well as the cargo plugin installed.
Versions:
$ docker pull maluuba/jetty-cargo
$ docker run -d -p 8080:8080 -i -t maluuba/jetty-cargo
Then point your browser at http://localhost:8080/ or http://192.168.59.103:8080/ if you are using boot2docker
Optionally you can create a local folder with sub-folders for: webapps, config and contexts. Copy your war files into webapps, your context xmls into contexts and any custom config to be copies into ../jetty/etc/ into config. In addition if you put a script called init.sh at /etc/jetty/init.sh it will be executed before jetty is run. This can be used to perform any custom setup steps.
$mkdir /local/jetty
$mkdir /local/jetty/webapps
$mkdir /local/jetty/config
$mkdir /local/jetty/contexts
$ docker run -d -p 8080:8080 -v /local/jetty:/etc/jetty -i -t maluuba/jetty-cargo
Copyright 2014 Maluuba
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Content type
Image
Digest
sha256:cc0a048b8…
Size
268 MB
Last updated
almost 11 years ago
docker pull maluuba/jetty-cargo