Skip to content

Commit 3e7f95c

Browse files
authored
🎉 Support build on MacOS M1 (Apple Silicon) (#7104)
- See this doc for details: https://github.com/airbytehq/airbyte/blob/master/docs/contributing-to-airbyte/developing-locally.md - Unit test does not work yet.
1 parent b79984a commit 3e7f95c

File tree

45 files changed

+103
-51
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+103
-51
lines changed

airbyte-config/persistence/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ dependencies {
1414
implementation project(':airbyte-config:init')
1515
implementation project(':airbyte-json-validation')
1616
implementation 'com.google.cloud:google-cloud-secretmanager:1.7.2'
17-
testImplementation "org.testcontainers:postgresql:1.15.1"
17+
testImplementation "org.testcontainers:postgresql:1.15.3"
1818
integrationTestJavaImplementation project(':airbyte-config:persistence')
1919
}

airbyte-db/jooq/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies {
1313

1414
// jOOQ code generation
1515
implementation 'org.jooq:jooq-codegen:3.13.4'
16-
implementation "org.testcontainers:postgresql:1.15.1"
16+
implementation "org.testcontainers:postgresql:1.15.3"
1717
// The jOOQ code generator only has access to classes added to the jooqGenerator configuration
1818
jooqGenerator project(':airbyte-db:lib')
1919
}

airbyte-db/lib/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies {
1111
implementation project(':airbyte-protocol:models')
1212
implementation project(':airbyte-json-validation')
1313
implementation "org.flywaydb:flyway-core:7.14.0"
14-
implementation "org.testcontainers:postgresql:1.15.1"
14+
implementation "org.testcontainers:postgresql:1.15.3"
1515

1616
testImplementation project(':airbyte-test-utils')
1717
testImplementation 'org.apache.commons:commons-lang3:3.11'

airbyte-e2e-testing/build.gradle

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ plugins {
33
id "com.github.node-gradle.node" version "2.2.4"
44
}
55

6+
def nodeVersion = System.getenv('NODE_VERSION') ?: '14.11.0'
7+
68
node {
79
download = true
8-
version = "14.11.0"
10+
version = nodeVersion
911
}
1012

1113

airbyte-integrations/bases/base-java/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM openjdk:14.0.2-slim
1+
ARG JDK_VERSION=14.0.2
2+
FROM openjdk:${JDK_VERSION}-slim
23
COPY --from=airbyte/integration-base:dev /airbyte /airbyte
34

45
WORKDIR /airbyte

airbyte-integrations/bases/base-java/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ dependencies {
1414

1515
implementation project(':airbyte-protocol:models')
1616
implementation project(":airbyte-json-validation")
17-
implementation "org.testcontainers:testcontainers:1.15.1"
18-
implementation "org.testcontainers:jdbc:1.15.1"
17+
implementation "org.testcontainers:testcontainers:1.15.3"
18+
implementation "org.testcontainers:jdbc:1.15.3"
1919

2020
implementation files(project(':airbyte-integrations:bases:base').airbyteDocker.outputs)
2121
}

airbyte-integrations/bases/base-standard-source-test-file/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM openjdk:14.0.2-slim
1+
ARG JDK_VERSION=14.0.2
2+
FROM openjdk:${JDK_VERSION}-slim
23

34
# Install Docker to launch worker images. Eventually should be replaced with Docker-java.
45
# See https://gitter.im/docker-java/docker-java?at=5f3eb87ba8c1780176603f4e for more information on why we are not currently using Docker-java

airbyte-integrations/bases/standard-source-test/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM openjdk:14.0.2-slim
1+
ARG JDK_VERSION=14.0.2
2+
FROM openjdk:${JDK_VERSION}-slim
23

34
# Install Docker to launch worker images. Eventually should be replaced with Docker-java.
45
# See https://gitter.im/docker-java/docker-java?at=5f3eb87ba8c1780176603f4e for more information on why we are not currently using Docker-java

airbyte-integrations/connector-templates/generator/build.gradle

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ plugins {
33
id "com.github.node-gradle.node" version "2.2.4"
44
}
55

6+
def nodeVersion = System.getenv('NODE_VERSION') ?: '14.11.0'
7+
68
node {
79
download = true
8-
version = "14.11.0"
10+
version = nodeVersion
911
}
1012

1113
assemble.dependsOn(npmInstall)

airbyte-integrations/connectors/destination-e2e-test/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ dependencies {
1616

1717
testImplementation project(':airbyte-test-utils')
1818

19-
testImplementation "org.testcontainers:postgresql:1.15.1"
19+
testImplementation "org.testcontainers:postgresql:1.15.3"
2020

2121
integrationTestJavaImplementation project(':airbyte-integrations:bases:standard-destination-test')
2222

23-
integrationTestJavaImplementation "org.testcontainers:postgresql:1.15.1"
23+
integrationTestJavaImplementation "org.testcontainers:postgresql:1.15.3"
2424

2525
implementation files(project(':airbyte-integrations:bases:base-java').airbyteDocker.outputs)
2626
integrationTestJavaImplementation files(project(':airbyte-integrations:bases:base-normalization').airbyteDocker.outputs)

airbyte-integrations/connectors/destination-jdbc/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ dependencies {
1717
implementation 'com.github.alexmojaki:s3-stream-upload:2.2.2'
1818
implementation 'com.fasterxml.jackson.core:jackson-databind'
1919

20-
testImplementation "org.testcontainers:postgresql:1.15.1"
20+
testImplementation "org.testcontainers:postgresql:1.15.3"
2121

2222
integrationTestJavaImplementation project(':airbyte-integrations:bases:standard-destination-test')
23-
integrationTestJavaImplementation "org.testcontainers:postgresql:1.15.1"
23+
integrationTestJavaImplementation "org.testcontainers:postgresql:1.15.3"
2424

2525
implementation files(project(':airbyte-integrations:bases:base-java').airbyteDocker.outputs)
2626
integrationTestJavaImplementation files(project(':airbyte-integrations:bases:base-normalization').airbyteDocker.outputs)

airbyte-integrations/connectors/destination-meilisearch/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dependencies {
1919
integrationTestJavaImplementation project(':airbyte-integrations:bases:standard-destination-test')
2020
integrationTestJavaImplementation project(':airbyte-integrations:connectors:destination-meilisearch')
2121

22-
integrationTestJavaImplementation "org.testcontainers:testcontainers:1.15.1"
22+
integrationTestJavaImplementation "org.testcontainers:testcontainers:1.15.3"
2323

2424
implementation files(project(':airbyte-integrations:bases:base-java').airbyteDocker.outputs)
2525
}

airbyte-integrations/connectors/destination-mysql-strict-encrypt/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dependencies {
2020

2121
integrationTestJavaImplementation project(':airbyte-integrations:bases:standard-destination-test')
2222
integrationTestJavaImplementation project(':airbyte-integrations:connectors:destination-mysql')
23-
integrationTestJavaImplementation "org.testcontainers:mysql:1.15.1"
23+
integrationTestJavaImplementation "org.testcontainers:mysql:1.15.3"
2424

2525
implementation files(project(':airbyte-integrations:bases:base-java').airbyteDocker.outputs)
2626
integrationTestJavaImplementation files(project(':airbyte-integrations:bases:base-normalization').airbyteDocker.outputs)

airbyte-integrations/connectors/destination-mysql/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dependencies {
1919

2020
integrationTestJavaImplementation project(':airbyte-integrations:bases:standard-destination-test')
2121
integrationTestJavaImplementation project(':airbyte-integrations:connectors:destination-mysql')
22-
integrationTestJavaImplementation "org.testcontainers:mysql:1.15.1"
22+
integrationTestJavaImplementation "org.testcontainers:mysql:1.15.3"
2323

2424
implementation files(project(':airbyte-integrations:bases:base-java').airbyteDocker.outputs)
2525
integrationTestJavaImplementation files(project(':airbyte-integrations:bases:base-normalization').airbyteDocker.outputs)

airbyte-integrations/connectors/destination-postgres-strict-encrypt/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dependencies {
1818

1919
integrationTestJavaImplementation project(':airbyte-integrations:bases:standard-destination-test')
2020

21-
integrationTestJavaImplementation "org.testcontainers:postgresql:1.15.1"
21+
integrationTestJavaImplementation "org.testcontainers:postgresql:1.15.3"
2222

2323
implementation files(project(':airbyte-integrations:bases:base-java').airbyteDocker.outputs)
2424
integrationTestJavaImplementation files(project(':airbyte-integrations:bases:base-normalization').airbyteDocker.outputs)

airbyte-integrations/connectors/destination-postgres/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ dependencies {
1717

1818
testImplementation project(':airbyte-test-utils')
1919

20-
testImplementation "org.testcontainers:postgresql:1.15.1"
20+
testImplementation "org.testcontainers:postgresql:1.15.3"
2121

2222
integrationTestJavaImplementation project(':airbyte-integrations:bases:standard-destination-test')
2323
integrationTestJavaImplementation project(':airbyte-integrations:connectors:destination-postgres')
2424

25-
integrationTestJavaImplementation "org.testcontainers:postgresql:1.15.1"
25+
integrationTestJavaImplementation "org.testcontainers:postgresql:1.15.3"
2626

2727
implementation files(project(':airbyte-integrations:bases:base-java').airbyteDocker.outputs)
2828
integrationTestJavaImplementation files(project(':airbyte-integrations:bases:base-normalization').airbyteDocker.outputs)

airbyte-integrations/connectors/source-e2e-test/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dependencies {
2424
testImplementation project(":airbyte-json-validation")
2525
testImplementation project(':airbyte-test-utils')
2626

27-
testImplementation 'org.testcontainers:postgresql:1.15.1'
27+
testImplementation 'org.testcontainers:postgresql:1.15.3'
2828

2929
integrationTestJavaImplementation project(':airbyte-integrations:bases:standard-source-test')
3030

airbyte-integrations/connectors/source-jdbc/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ dependencies {
2828
testImplementation project(':airbyte-test-utils')
2929

3030
testImplementation "org.postgresql:postgresql:42.2.18"
31-
testImplementation "org.testcontainers:postgresql:1.15.1"
31+
testImplementation "org.testcontainers:postgresql:1.15.3"
3232

3333
integrationTestJavaImplementation project(':airbyte-integrations:bases:standard-source-test')
34-
integrationTestJavaImplementation "org.testcontainers:postgresql:1.15.1"
34+
integrationTestJavaImplementation "org.testcontainers:postgresql:1.15.3"
3535

3636
testFixturesImplementation "org.hamcrest:hamcrest-all:1.3"
3737
testFixturesImplementation project(':airbyte-protocol:models')

airbyte-integrations/connectors/source-mssql-strict-encrypt/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dependencies {
2121
testImplementation testFixtures(project(':airbyte-integrations:connectors:source-jdbc'))
2222

2323
testImplementation 'org.apache.commons:commons-lang3:3.11'
24-
testImplementation "org.testcontainers:mssqlserver:1.15.1"
24+
testImplementation "org.testcontainers:mssqlserver:1.15.3"
2525

2626
integrationTestJavaImplementation project(':airbyte-integrations:bases:standard-source-test')
2727
integrationTestJavaImplementation project(':airbyte-integrations:connectors:source-mssql-strict-encrypt')

airbyte-integrations/connectors/source-mssql/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dependencies {
2626
testImplementation testFixtures(project(':airbyte-integrations:connectors:source-jdbc'))
2727

2828
testImplementation 'org.apache.commons:commons-lang3:3.11'
29-
testImplementation "org.testcontainers:mssqlserver:1.15.1"
29+
testImplementation "org.testcontainers:mssqlserver:1.15.3"
3030

3131
integrationTestJavaImplementation project(':airbyte-integrations:bases:standard-source-test')
3232
integrationTestJavaImplementation project(':airbyte-integrations:connectors:source-mssql')

airbyte-integrations/connectors/source-mysql-strict-encrypt/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dependencies {
2020
testImplementation testFixtures(project(':airbyte-integrations:connectors:source-jdbc'))
2121
testImplementation project(':airbyte-test-utils')
2222

23-
testImplementation 'org.testcontainers:mysql:1.15.1'
23+
testImplementation 'org.testcontainers:mysql:1.15.3'
2424

2525
integrationTestJavaImplementation project(':airbyte-integrations:bases:standard-source-test')
2626

airbyte-integrations/connectors/source-mysql/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ dependencies {
2323
testImplementation testFixtures(project(':airbyte-integrations:bases:debezium'))
2424
testImplementation testFixtures(project(':airbyte-integrations:connectors:source-jdbc'))
2525
testImplementation 'org.apache.commons:commons-lang3:3.11'
26-
testImplementation 'org.testcontainers:mysql:1.15.1'
26+
testImplementation 'org.testcontainers:mysql:1.15.3'
2727

2828
integrationTestJavaImplementation project(':airbyte-integrations:bases:standard-source-test')
2929
integrationTestJavaImplementation project(':airbyte-integrations:connectors:source-mysql')

airbyte-integrations/connectors/source-oracle-strict-encrypt/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dependencies {
2727
testImplementation project(':airbyte-test-utils')
2828

2929
testImplementation 'org.apache.commons:commons-lang3:3.11'
30-
testImplementation 'org.testcontainers:oracle-xe:1.15.2'
30+
testImplementation 'org.testcontainers:oracle-xe:1.15.3'
3131

3232
integrationTestJavaImplementation project(':airbyte-integrations:bases:standard-source-test')
3333

airbyte-integrations/connectors/source-oracle/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dependencies {
2626
testImplementation project(':airbyte-test-utils')
2727

2828
testImplementation 'org.apache.commons:commons-lang3:3.11'
29-
testImplementation 'org.testcontainers:oracle-xe:1.15.2'
29+
testImplementation 'org.testcontainers:oracle-xe:1.15.3'
3030

3131
integrationTestJavaImplementation project(':airbyte-integrations:bases:standard-source-test')
3232

airbyte-integrations/connectors/source-postgres-strict-encrypt/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ dependencies {
2222
testImplementation testFixtures(project(':airbyte-integrations:connectors:source-jdbc'))
2323
testImplementation project(':airbyte-test-utils')
2424

25-
testImplementation 'org.testcontainers:postgresql:1.15.1'
25+
testImplementation 'org.testcontainers:postgresql:1.15.3'
2626

2727
integrationTestJavaImplementation project(':airbyte-integrations:bases:standard-source-test')
2828

airbyte-integrations/connectors/source-postgres/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dependencies {
2525
testImplementation project(":airbyte-json-validation")
2626
testImplementation project(':airbyte-test-utils')
2727

28-
testImplementation 'org.testcontainers:postgresql:1.15.1'
28+
testImplementation 'org.testcontainers:postgresql:1.15.3'
2929

3030
integrationTestJavaImplementation project(':airbyte-integrations:bases:standard-source-test')
3131

airbyte-integrations/connectors/source-relational-db/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dependencies {
1919
testImplementation project(':airbyte-test-utils')
2020

2121
testImplementation "org.postgresql:postgresql:42.2.18"
22-
testImplementation "org.testcontainers:postgresql:1.15.1"
22+
testImplementation "org.testcontainers:postgresql:1.15.3"
2323

2424
implementation files(project(':airbyte-integrations:bases:base-java').airbyteDocker.outputs)
2525
}

airbyte-migration/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM openjdk:14.0.2-slim AS migrate
1+
ARG JDK_VERSION=14.0.2
2+
FROM openjdk:${JDK_VERSION}-slim AS migrate
23

34
ENV APPLICATION airbyte-migration
45

airbyte-scheduler/app/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM openjdk:14.0.2-slim AS scheduler
1+
ARG JDK_VERSION=14.0.2
2+
FROM openjdk:${JDK_VERSION}-slim AS scheduler
23

34
ENV APPLICATION airbyte-scheduler
45

airbyte-scheduler/app/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dependencies {
2121
implementation project(':airbyte-scheduler:persistence')
2222
implementation project(':airbyte-workers')
2323

24-
testImplementation "org.testcontainers:postgresql:1.15.1"
24+
testImplementation "org.testcontainers:postgresql:1.15.3"
2525
}
2626

2727
application {

airbyte-scheduler/persistence/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ dependencies {
1515
implementation project(':airbyte-scheduler:models')
1616

1717
testImplementation "org.flywaydb:flyway-core:7.14.0"
18-
testImplementation "org.testcontainers:postgresql:1.15.1"
18+
testImplementation "org.testcontainers:postgresql:1.15.3"
1919
}

airbyte-secrets-migration/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM openjdk:14.0.2-slim
1+
ARG JDK_VERSION=14.0.2
2+
FROM openjdk:${JDK_VERSION}-slim
23

34
ENV APPLICATION airbyte-secrets-migration
45
WORKDIR /airbyte

airbyte-secrets-migration/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies {
1616
implementation project(':airbyte-config:persistence')
1717
testImplementation project(':airbyte-json-validation')
1818
testImplementation 'org.apache.commons:commons-lang3:3.11'
19-
testImplementation "org.testcontainers:postgresql:1.15.1"
19+
testImplementation "org.testcontainers:postgresql:1.15.3"
2020
integrationTestJavaImplementation project(':airbyte-secrets-migration')
2121
}
2222

airbyte-server/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM openjdk:14.0.2-slim AS server
1+
ARG JDK_VERSION=14.0.2
2+
FROM openjdk:${JDK_VERSION}-slim AS server
23

34
EXPOSE 8000
45

airbyte-server/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
22
id 'application'
33
id 'maven-publish'
4-
id 'com.github.johnrengelman.shadow' version '6.1.0'
4+
id 'com.github.johnrengelman.shadow' version '7.1.0'
55
}
66

77
shadowJar {
@@ -81,7 +81,7 @@ dependencies {
8181

8282
testImplementation 'com.squareup.okhttp3:mockwebserver:4.9.1'
8383

84-
testImplementation "org.testcontainers:postgresql:1.15.1"
84+
testImplementation "org.testcontainers:postgresql:1.15.3"
8585
}
8686

8787
// we want to be able to access the generated db files from config/init when we build the server docker image.

airbyte-test-utils/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ plugins {
55
dependencies {
66
implementation project(':airbyte-db:lib')
77

8-
implementation 'org.testcontainers:postgresql:1.15.1'
8+
implementation 'org.testcontainers:postgresql:1.15.3'
99
implementation "org.testcontainers:cockroachdb:1.15.3"
1010
}

airbyte-tests/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ dependencies {
4949
acceptanceTestsImplementation 'com.fasterxml.jackson.core:jackson-databind'
5050
acceptanceTestsImplementation 'io.github.cdimascio:java-dotenv:3.0.0'
5151
acceptanceTestsImplementation 'org.apache.commons:commons-csv:1.4'
52-
acceptanceTestsImplementation 'org.testcontainers:postgresql:1.15.1'
52+
acceptanceTestsImplementation 'org.testcontainers:postgresql:1.15.3'
5353
acceptanceTestsImplementation 'org.postgresql:postgresql:42.2.18'
5454

5555
automaticMigrationAcceptanceTestImplementation project(':airbyte-api')

airbyte-webapp/build.gradle

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ plugins {
33
id "com.github.node-gradle.node" version "3.1.1"
44
}
55

6+
def nodeVersion = System.getenv('NODE_VERSION') ?: '14.11.0'
7+
68
node {
79
download = true
8-
version = "14.11.0"
10+
version = nodeVersion
911
}
1012

1113
npm_run_build {

airbyte-workers/Dockerfile

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
FROM openjdk:14.0.2-slim AS worker
1+
ARG JDK_VERSION=14.0.2
2+
FROM openjdk:${JDK_VERSION}-slim AS worker
3+
4+
ARG ARCH=amd64
25

36
# Install Docker to launch worker images. Eventually should be replaced with Docker-java.
47
# See https://gitter.im/docker-java/docker-java?at=5f3eb87ba8c1780176603f4e for more information on why we are not currently using Docker-java
@@ -10,7 +13,7 @@ RUN apt-get update && apt-get install -y \
1013
software-properties-common
1114
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
1215
RUN add-apt-repository \
13-
"deb [arch=amd64] https://download.docker.com/linux/debian \
16+
"deb [arch=${ARCH}] https://download.docker.com/linux/debian \
1417
$(lsb_release -cs) \
1518
stable"
1619
RUN apt-get update && apt-get install -y docker-ce-cli jq
@@ -20,7 +23,7 @@ ENV APPLICATION airbyte-workers
2023
WORKDIR /app
2124

2225
# Install kubectl
23-
RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.17.14/bin/linux/amd64/kubectl
26+
RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.17.14/bin/linux/${ARCH}/kubectl
2427
RUN chmod +x ./kubectl
2528
RUN mv ./kubectl /usr/local/bin
2629

0 commit comments

Comments
 (0)