Created
August 13, 2018 06:44
-
-
Save Yasushi/15f37add1effb3750be8bf4134d464f9 to your computer and use it in GitHub Desktop.
embulk docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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