Skip to content

Instantly share code, notes, and snippets.

@Yasushi
Created August 13, 2018 06:44
Show Gist options
  • Save Yasushi/15f37add1effb3750be8bf4134d464f9 to your computer and use it in GitHub Desktop.
Save Yasushi/15f37add1effb3750be8bf4134d464f9 to your computer and use it in GitHub Desktop.
embulk docker
FROM debian:stretch-slim AS build
RUN apt-get update && apt-get -y --no-install-recommends install wget ca-certificates && wget -O /embulk "https://dl.bintray.com/embulk/maven/embulk-0.9.7.jar"
FROM openjdk:8-slim
COPY --from=build /embulk /usr/local/bin/embulk
RUN chmod 755 /usr/local/bin/embulk
RUN useradd -m -u 1000 user
USER user
WORKDIR /home/user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment