-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Re-apply rootless containers and fix ESP configs (#11731)
- Loading branch information
Showing
36 changed files
with
305 additions
and
110 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
ARG JDK_IMAGE=airbyte/airbyte-base-java-image:3.0.1 | ||
ARG JDK_IMAGE=airbyte/airbyte-base-java-image:3.1.0 | ||
FROM ${JDK_IMAGE} AS server | ||
EXPOSE 8006 5005 | ||
ENV APPLICATION airbyte-api-server | ||
ENV VERSION ${VERSION} | ||
|
||
WORKDIR /app | ||
|
||
# This is automatically unzipped by Docker | ||
USER root | ||
ADD airbyte-app.tar /app | ||
RUN chown -R airbyte:airbyte /app | ||
USER airbyte:airbyte | ||
|
||
# wait for upstream dependencies to become available before starting server | ||
ENTRYPOINT ["/bin/bash", "-c", "airbyte-app/bin/${APPLICATION}"] |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
ARG JDK_IMAGE=airbyte/airbyte-base-java-image:3.0.1 | ||
ARG JDK_IMAGE=airbyte/airbyte-base-java-image:3.1.0 | ||
FROM ${JDK_IMAGE} | ||
|
||
WORKDIR /app | ||
|
||
USER root | ||
ADD airbyte-app.tar /app | ||
RUN chown -R airbyte:airbyte /app | ||
USER airbyte:airbyte | ||
|
||
ENTRYPOINT ["/bin/bash", "-c", "airbyte-app/bin/airbyte-bootloader"] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
ARG ALPINE_IMAGE=alpine:3.13 | ||
ARG ALPINE_IMAGE=alpine:3.18 | ||
FROM ${ALPINE_IMAGE} AS seed | ||
|
||
WORKDIR /app | ||
|
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
ARG JDK_IMAGE=airbyte/airbyte-base-java-image:3.0.1 | ||
ARG JDK_IMAGE=airbyte/airbyte-base-java-image:3.1.0 | ||
FROM ${JDK_IMAGE} | ||
|
||
WORKDIR /app | ||
|
||
USER root | ||
ADD airbyte-app.tar /app | ||
RUN chown -R airbyte:airbyte /app | ||
USER airbyte:airbyte | ||
|
||
ENTRYPOINT ["/bin/bash", "-c", "airbyte-app/bin/airbyte-cron"] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
ARG JDK_IMAGE=airbyte/airbyte-base-java-image:3.0.1 | ||
ARG JDK_IMAGE=airbyte/airbyte-base-java-image:3.1.0 | ||
FROM ${JDK_IMAGE} AS keycloak-setup | ||
|
||
WORKDIR /app | ||
|
||
USER root | ||
ADD airbyte-app.tar /app | ||
RUN chown -R airbyte:airbyte /app | ||
USER airbyte:airbyte | ||
|
||
ENTRYPOINT ["/bin/bash", "-c", "airbyte-app/bin/airbyte-keycloak-setup"] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
ARG JDK_IMAGE=airbyte/airbyte-base-java-image:3.0.1 | ||
ARG JDK_IMAGE=airbyte/airbyte-base-java-image:3.1.0 | ||
FROM ${JDK_IMAGE} | ||
|
||
WORKDIR /app | ||
|
||
USER root | ||
ADD airbyte-app.tar /app | ||
RUN chown -R airbyte:airbyte /app | ||
USER airbyte:airbyte | ||
|
||
ENTRYPOINT ["/bin/bash", "-c", "airbyte-app/bin/airbyte-metrics-reporter"] |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
ARG NGINX_IMAGE=nginx:alpine | ||
ARG NGINX_IMAGE=nginxinc/nginx-unprivileged:alpine3.18 | ||
FROM ${NGINX_IMAGE} | ||
|
||
EXPOSE 80 | ||
EXPOSE 8080 | ||
|
||
USER root | ||
|
||
COPY bin/build /usr/share/nginx/html | ||
RUN find /usr/share/nginx/html -type d -exec chmod 755 '{}' \; -o -type f -exec chmod 644 '{}' \; | ||
COPY bin/nginx/default.conf.template /etc/nginx/templates/default.conf.template | ||
|
||
RUN chown -R nginx:nginx /usr/share/nginx/html | ||
|
||
USER nginx:nginx |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
server { | ||
listen 80; | ||
listen [::]:80; | ||
listen 8080; | ||
listen [::]:8080; | ||
server_name localhost; | ||
|
||
gzip on; | ||
|
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
ARG JDK_IMAGE=airbyte/airbyte-base-java-image:3.0.1 | ||
ARG JDK_IMAGE=airbyte/airbyte-base-java-image:3.1.0 | ||
FROM ${JDK_IMAGE} AS server | ||
EXPOSE 8007 5005 | ||
ENV APPLICATION airbyte-workload-api-server | ||
ENV VERSION ${VERSION} | ||
WORKDIR /app | ||
|
||
# This is automatically unzipped by Docker | ||
USER root | ||
ADD airbyte-app.tar /app | ||
RUN chown -R airbyte:airbyte /app | ||
USER airbyte:airbyte | ||
|
||
# wait for upstream dependencies to become available before starting server | ||
ENTRYPOINT ["/bin/bash", "-c", "airbyte-app/bin/${APPLICATION}"] |
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
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
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
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
Oops, something went wrong.