Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move labels to bottom of dockerfiles for better caching #233

Merged
merged 1 commit into from
Sep 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dataline-integrations/singer/bigquery/destination/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
FROM python:3.7-alpine

LABEL io.dataline.version=0.1.1

WORKDIR /singer

ENV VIRTUAL_ENV=/singer/env
Expand All @@ -18,3 +16,5 @@ RUN python -m pip install --upgrade pip && \
COPY bigquery-destination.sh /singer/bigquery-destination.sh

ENTRYPOINT ["sh", "/singer/bigquery-destination.sh"]

LABEL io.dataline.version=0.1.1
4 changes: 2 additions & 2 deletions dataline-integrations/singer/csv/destination/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
FROM python:3.7-slim

LABEL io.dataline.version=0.1.1

WORKDIR /singer

ENV VIRTUAL_ENV=/singer/env
Expand All @@ -14,3 +12,5 @@ RUN python -m pip install --upgrade pip && \
pip install -r requirements.txt

ENTRYPOINT ["target-csv"]

LABEL io.dataline.version=0.1.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
FROM python:3.7-slim

LABEL io.dataline.version=0.1.1

WORKDIR /singer

ENV VIRTUAL_ENV=/singer/env
Expand All @@ -14,3 +12,5 @@ RUN python -m pip install --upgrade pip && \
pip install -r requirements.txt

ENTRYPOINT ["tap-exchangeratesapi"]

LABEL io.dataline.version=0.1.1
4 changes: 2 additions & 2 deletions dataline-integrations/singer/postgres/destination/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
FROM python:3.7-slim

LABEL io.dataline.version=0.1.1

WORKDIR /singer

ENV VIRTUAL_ENV=/singer/env
Expand All @@ -22,3 +20,5 @@ RUN apt-get update && \
pip install -r requirements.txt

ENTRYPOINT ["/run.sh"]

LABEL io.dataline.version=0.1.1
4 changes: 2 additions & 2 deletions dataline-integrations/singer/postgres/source/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
FROM python:3.7-slim

LABEL io.dataline.version=0.1.0

WORKDIR /singer

ENV VIRTUAL_ENV=/singer/env
Expand All @@ -20,3 +18,5 @@ RUN python -m pip install --upgrade pip && \
RUN apt-get autoremove -y gcc

ENTRYPOINT ["tap-postgres"]

LABEL io.dataline.version=0.1.0
7 changes: 4 additions & 3 deletions tools/build/Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
#####################
FROM ubuntu:20.04

LABEL io.dataline.image=dataline/build-base
LABEL io.dataline.version=1.0.0

WORKDIR /code

ENV DEBIAN_FRONTEND noninteractive
Expand All @@ -18,3 +15,7 @@ RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
RUN apt-get update && apt-get -y install \
nodejs \
openjdk-14-jdk


LABEL io.dataline.image=dataline/build-base
LABEL io.dataline.version=1.0.0