Skip to content
This repository has been archived by the owner on Jan 10, 2020. It is now read-only.

Dockerfile with Scala, SBT, Kubernetes, AWS CLI and Docker

License

Notifications You must be signed in to change notification settings

moia-dev/scala-sbt-kubernetes-aws-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerfile with Scala, SBT, Kubernetes, AWS CLI and Docker

NOTE: This repository is no longer maintaned. Use https://github.com/moia-dev/scala-on-circleci instead.

This repository contains a Dockerfile with:

Base Docker Image

Installation

  1. Install Docker
  2. Pull automated build from public Docker Hub Registry:
docker pull moia/scala-sbt-kubernetes-aws-docker

Alternatively, you can build an image from Dockerfile:

docker build -t moia/scala-sbt-kubernetes-aws-docker github.com/moia-dev/scala-sbt-kubernetes-aws-docker

Usage

docker run -it --rm moia/scala-sbt-kubernetes-aws-docker

Development Notes

Building and publishing docker image

  1. Pull latest version from github:

    git pull origin master
    git fetch --tags
    
  2. Build Docker image:

    docker build -t moia/scala-sbt-kubernetes-aws-docker:8u181-2.12.7-1.2.6-1.12.3 .
    
  3. Push Docker image:

    docker login
    docker push moia/scala-sbt-kubernetes-aws-docker:8u181-2.12.7-1.2.6-1.12.3
    

License

This code is open source software licensed under the Apache 2.0 License.

Update

  1. Edit Dockerfile and insert the latest versions of
  2. Make sure theimage can be built with docker build .
  3. Commit and push the changes
  4. Create a release on GitHub (https://github.com/moia-dev/scala-sbt-kubernetes-aws-docker/releases)
  5. Build and tag the image (see above)
  6. Push to the docker hub