Skip to content

Commit d2e2bad

Browse files
vulkoingimroboquat
authored andcommitted
Unset GOFLAGS from Dockerfile
1 parent ac16572 commit d2e2bad

14 files changed

+13
-16
lines changed

.gitpod.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:pd-dev-upgrade.0
1+
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:aa-unset-goflags.0
22
workspaceLocation: gitpod/gitpod-ws.code-workspace
33
checkoutLocation: gitpod
44
ports:

.werft/aks-installer-tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pod:
5353
secretName: sh-playground-dns-perm
5454
containers:
5555
- name: nightly-test
56-
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:pd-dev-upgrade.0
56+
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:aa-unset-goflags.0
5757
workingDir: /workspace
5858
imagePullPolicy: Always
5959
volumeMounts:

.werft/build.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ pod:
7575
- name: MYSQL_TCP_PORT
7676
value: 23306
7777
- name: build
78-
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:pd-dev-upgrade.0
78+
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:aa-unset-goflags.0
7979
workingDir: /workspace
8080
imagePullPolicy: IfNotPresent
8181
resources:

.werft/cleanup-installer-tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pod:
2424
secretName: aks-credentials
2525
containers:
2626
- name: nightly-test
27-
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:pd-dev-upgrade.0
27+
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:aa-unset-goflags.0
2828
workingDir: /workspace
2929
imagePullPolicy: Always
3030
volumeMounts:

.werft/debug.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pod:
5353
- name: MYSQL_TCP_PORT
5454
value: 23306
5555
- name: build
56-
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:pd-dev-upgrade.0
56+
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:aa-unset-goflags.0
5757
workingDir: /workspace
5858
imagePullPolicy: IfNotPresent
5959
volumeMounts:

.werft/eks-installer-tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pod:
5353
secretName: sh-playground-dns-perm
5454
containers:
5555
- name: nightly-test
56-
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:pd-dev-upgrade.0
56+
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:aa-unset-goflags.0
5757
workingDir: /workspace
5858
imagePullPolicy: Always
5959
volumeMounts:

.werft/gke-installer-tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pod:
5353
secretName: sh-playground-dns-perm
5454
containers:
5555
- name: nightly-test
56-
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:pd-dev-upgrade.0
56+
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:aa-unset-goflags.0
5757
workingDir: /workspace
5858
imagePullPolicy: Always
5959
volumeMounts:

.werft/ide-integration-tests-startup.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pod:
1616
secretName: github-token-gitpod-bot
1717
containers:
1818
- name: gcloud
19-
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:pd-dev-upgrade.0
19+
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:aa-unset-goflags.0
2020
workingDir: /workspace
2121
imagePullPolicy: IfNotPresent
2222
env:

.werft/k3s-installer-tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pod:
5353
secretName: sh-playground-dns-perm
5454
containers:
5555
- name: nightly-test
56-
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:pd-dev-upgrade.0
56+
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:aa-unset-goflags.0
5757
workingDir: /workspace
5858
imagePullPolicy: Always
5959
volumeMounts:

.werft/platform-delete-preview-environments-cron.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pod:
2828
secretName: github-token-gitpod-bot
2929
containers:
3030
- name: build
31-
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:pd-dev-upgrade.0
31+
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:aa-unset-goflags.0
3232
workingDir: /workspace
3333
imagePullPolicy: IfNotPresent
3434
volumeMounts:

.werft/platform-trigger-werft-cleanup.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pod:
2121
secretName: gcp-sa-gitpod-dev-deployer
2222
containers:
2323
- name: build
24-
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:pd-dev-upgrade.0
24+
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:aa-unset-goflags.0
2525
workingDir: /workspace
2626
imagePullPolicy: IfNotPresent
2727
volumeMounts:

.werft/run-integration-tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pod:
2222
emptyDir: {}
2323
initContainers:
2424
- name: gcloud
25-
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:pd-dev-upgrade.0
25+
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:aa-unset-goflags.0
2626
workingDir: /workspace
2727
imagePullPolicy: IfNotPresent
2828
volumeMounts:

.werft/workspace-run-integration-tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pod:
2121
secretName: github-token-gitpod-bot
2222
containers:
2323
- name: gcloud
24-
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:pd-dev-upgrade.0
24+
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:aa-unset-goflags.0
2525
workingDir: /workspace
2626
imagePullPolicy: IfNotPresent
2727
env:

dev/image/Dockerfile

-3
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,6 @@ RUN bash -c ". .nvm/nvm.sh \
137137
&& npm install -g typescript yarn"
138138
ENV PATH=/home/gitpod/.nvm/versions/node/v${GITPOD_NODE_VERSION}/bin:$PATH
139139

140-
# Go
141-
ENV GOFLAGS="-mod=readonly"
142-
143140
## Register leeway autocompletion in bashrc
144141
RUN bash -c "echo . \<\(leeway bash-completion\) >> ~/.bashrc"
145142

0 commit comments

Comments
 (0)