Skip to content

Instantly share code, notes, and snippets.

@YumaInaura
Last active August 10, 2018 00:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save YumaInaura/31f5fabaa1b5819cfe74ad3c7b782b71 to your computer and use it in GitHub Desktop.
Save YumaInaura/31f5fabaa1b5819cfe74ad3c7b782b71 to your computer and use it in GitHub Desktop.
Embulk Dockerfile example

embulk Dockerfile example

From local Dockerfile

$ git clone https://gist.github.com/YumaInaura/31f5fabaa1b5819cfe74ad3c7b782b71 docker_embulk
$ cd docker_embulk
$ docker build . -t embulk
$ docker -it run embulk /bin/bash
# embulk

From docker hub

$ docker -it run yumainaura/embulk /bin/bash
# embulk
FROM java:8
RUN apt-get -y update && apt-get -y upgrade
RUN curl --create-dirs -o ~/.embulk/bin/embulk -L "https://dl.embulk.org/embulk-latest.jar"
RUN chmod +x ~/.embulk/bin/embulk
ENV PATH="/root/.embulk/bin:${PATH}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment