1
0
mirror of synced 2026-01-10 09:04:48 -05:00
Files
airbyte/airbyte-integrations/bases/standard-source-test/Dockerfile
girarda fd13ab1970 Fix CONNECTORS_BASE build for M1 (#10925)
* Pass in arm64

* default value

* fix
2022-03-07 17:30:41 -08:00

34 lines
1.1 KiB
Docker

ARG JDK_VERSION=17.0.1
FROM openjdk:${JDK_VERSION}-slim
ARG DOCKER_BUILD_ARCH=amd64
# Install Docker to launch worker images. Eventually should be replaced with Docker-java.
# See https://gitter.im/docker-java/docker-java?at=5f3eb87ba8c1780176603f4e for more information on why we are not currently using Docker-java
RUN apt-get update && apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
RUN add-apt-repository \
"deb [arch=${DOCKER_BUILD_ARCH}] https://download.docker.com/linux/debian \
$(lsb_release -cs) \
stable"
RUN apt-get update && apt-get install -y docker-ce-cli jq
ENV APPLICATION standard-source-test
WORKDIR /app
COPY entrypoint.sh .
COPY build/distributions/${APPLICATION}*.tar ${APPLICATION}.tar
RUN tar xf ${APPLICATION}.tar --strip-components=1
ENTRYPOINT ["/app/entrypoint.sh"]
LABEL io.airbyte.version=0.1.0
LABEL io.airbyte.name=airbyte/standard-source-test