Skip to content

Commit 3ac4086

Browse files
committed
Run build.sh
1 parent 2f6ca9f commit 3ac4086

File tree

42 files changed

+336
-210
lines changed

Some content is hidden

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

42 files changed

+336
-210
lines changed

flavors/ci_light/Dockerfile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,15 @@ RUN apk add --update --no-cache \
6969
&& git config --global core.autocrlf true
7070
#APK__END
7171

72-
# PATH for python
73-
# ENV # PYTHONPYCACHEPREFIX="$HOME/.cache/cpython/" NV: not working for all packages :/
72+
# PATH for golang & python
73+
ENV GOROOT=/usr/lib/go \
74+
GOPATH=/go
75+
# PYTHONPYCACHEPREFIX="$HOME/.cache/cpython/" NV: not working for all packages :/
7476
# hadolint ignore=DL3044
75-
# ENV PATH="$PATH"
76-
# Ignore npm package issues
77-
RUN yarn config set ignore-engines true || true
77+
ENV PATH="$PATH":"$GOROOT"/bin:"$GOPATH"/bin
78+
RUN mkdir -p ${GOPATH}/src ${GOPATH}/bin || true && \
79+
# Ignore npm package issues
80+
yarn config set ignore-engines true || true
7881

7982
#############################################################################################
8083
## @generated by .automation/build.py using descriptor files, please do not update manually ##

flavors/cupcake/Dockerfile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,15 @@ RUN apk add --update --no-cache \
9999
&& git config --global core.autocrlf true
100100
#APK__END
101101

102-
# PATH for python
103-
# ENV # PYTHONPYCACHEPREFIX="$HOME/.cache/cpython/" NV: not working for all packages :/
102+
# PATH for golang & python
103+
ENV GOROOT=/usr/lib/go \
104+
GOPATH=/go
105+
# PYTHONPYCACHEPREFIX="$HOME/.cache/cpython/" NV: not working for all packages :/
104106
# hadolint ignore=DL3044
105-
# ENV PATH="$PATH"
106-
# Ignore npm package issues
107-
RUN yarn config set ignore-engines true || true
107+
ENV PATH="$PATH":"$GOROOT"/bin:"$GOPATH"/bin
108+
RUN mkdir -p ${GOPATH}/src ${GOPATH}/bin || true && \
109+
# Ignore npm package issues
110+
yarn config set ignore-engines true || true
108111

109112
#############################################################################################
110113
## @generated by .automation/build.py using descriptor files, please do not update manually ##

flavors/documentation/Dockerfile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,15 @@ RUN apk add --update --no-cache \
7777
&& git config --global core.autocrlf true
7878
#APK__END
7979

80-
# PATH for python
81-
# ENV # PYTHONPYCACHEPREFIX="$HOME/.cache/cpython/" NV: not working for all packages :/
80+
# PATH for golang & python
81+
ENV GOROOT=/usr/lib/go \
82+
GOPATH=/go
83+
# PYTHONPYCACHEPREFIX="$HOME/.cache/cpython/" NV: not working for all packages :/
8284
# hadolint ignore=DL3044
83-
# ENV PATH="$PATH"
84-
# Ignore npm package issues
85-
RUN yarn config set ignore-engines true || true
85+
ENV PATH="$PATH":"$GOROOT"/bin:"$GOPATH"/bin
86+
RUN mkdir -p ${GOPATH}/src ${GOPATH}/bin || true && \
87+
# Ignore npm package issues
88+
yarn config set ignore-engines true || true
8689

8790
#############################################################################################
8891
## @generated by .automation/build.py using descriptor files, please do not update manually ##

flavors/dotnet/Dockerfile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,15 @@ RUN apk add --update --no-cache \
9393
&& git config --global core.autocrlf true
9494
#APK__END
9595

96-
# PATH for python
97-
# ENV # PYTHONPYCACHEPREFIX="$HOME/.cache/cpython/" NV: not working for all packages :/
96+
# PATH for golang & python
97+
ENV GOROOT=/usr/lib/go \
98+
GOPATH=/go
99+
# PYTHONPYCACHEPREFIX="$HOME/.cache/cpython/" NV: not working for all packages :/
98100
# hadolint ignore=DL3044
99-
# ENV PATH="$PATH"
100-
# Ignore npm package issues
101-
RUN yarn config set ignore-engines true || true
101+
ENV PATH="$PATH":"$GOROOT"/bin:"$GOPATH"/bin
102+
RUN mkdir -p ${GOPATH}/src ${GOPATH}/bin || true && \
103+
# Ignore npm package issues
104+
yarn config set ignore-engines true || true
102105

103106
#############################################################################################
104107
## @generated by .automation/build.py using descriptor files, please do not update manually ##

flavors/go/Dockerfile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,15 @@ RUN apk add --update --no-cache \
8282
&& git config --global core.autocrlf true
8383
#APK__END
8484

85-
# PATH for python
86-
# ENV # PYTHONPYCACHEPREFIX="$HOME/.cache/cpython/" NV: not working for all packages :/
85+
# PATH for golang & python
86+
ENV GOROOT=/usr/lib/go \
87+
GOPATH=/go
88+
# PYTHONPYCACHEPREFIX="$HOME/.cache/cpython/" NV: not working for all packages :/
8789
# hadolint ignore=DL3044
88-
# ENV PATH="$PATH"
89-
# Ignore npm package issues
90-
RUN yarn config set ignore-engines true || true
90+
ENV PATH="$PATH":"$GOROOT"/bin:"$GOPATH"/bin
91+
RUN mkdir -p ${GOPATH}/src ${GOPATH}/bin || true && \
92+
# Ignore npm package issues
93+
yarn config set ignore-engines true || true
9194

9295
#############################################################################################
9396
## @generated by .automation/build.py using descriptor files, please do not update manually ##

flavors/java/Dockerfile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,15 @@ RUN apk add --update --no-cache \
7777
&& git config --global core.autocrlf true
7878
#APK__END
7979

80-
# PATH for python
81-
# ENV # PYTHONPYCACHEPREFIX="$HOME/.cache/cpython/" NV: not working for all packages :/
80+
# PATH for golang & python
81+
ENV GOROOT=/usr/lib/go \
82+
GOPATH=/go
83+
# PYTHONPYCACHEPREFIX="$HOME/.cache/cpython/" NV: not working for all packages :/
8284
# hadolint ignore=DL3044
83-
# ENV PATH="$PATH"
84-
# Ignore npm package issues
85-
RUN yarn config set ignore-engines true || true
85+
ENV PATH="$PATH":"$GOROOT"/bin:"$GOPATH"/bin
86+
RUN mkdir -p ${GOPATH}/src ${GOPATH}/bin || true && \
87+
# Ignore npm package issues
88+
yarn config set ignore-engines true || true
8689

8790
#############################################################################################
8891
## @generated by .automation/build.py using descriptor files, please do not update manually ##

flavors/javascript/Dockerfile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,15 @@ RUN apk add --update --no-cache \
7676
&& git config --global core.autocrlf true
7777
#APK__END
7878

79-
# PATH for python
80-
# ENV # PYTHONPYCACHEPREFIX="$HOME/.cache/cpython/" NV: not working for all packages :/
79+
# PATH for golang & python
80+
ENV GOROOT=/usr/lib/go \
81+
GOPATH=/go
82+
# PYTHONPYCACHEPREFIX="$HOME/.cache/cpython/" NV: not working for all packages :/
8183
# hadolint ignore=DL3044
82-
# ENV PATH="$PATH"
83-
# Ignore npm package issues
84-
RUN yarn config set ignore-engines true || true
84+
ENV PATH="$PATH":"$GOROOT"/bin:"$GOPATH"/bin
85+
RUN mkdir -p ${GOPATH}/src ${GOPATH}/bin || true && \
86+
# Ignore npm package issues
87+
yarn config set ignore-engines true || true
8588

8689
#############################################################################################
8790
## @generated by .automation/build.py using descriptor files, please do not update manually ##

flavors/php/Dockerfile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,15 @@ RUN apk add --update --no-cache \
8787
&& git config --global core.autocrlf true
8888
#APK__END
8989

90-
# PATH for python
91-
# ENV # PYTHONPYCACHEPREFIX="$HOME/.cache/cpython/" NV: not working for all packages :/
90+
# PATH for golang & python
91+
ENV GOROOT=/usr/lib/go \
92+
GOPATH=/go
93+
# PYTHONPYCACHEPREFIX="$HOME/.cache/cpython/" NV: not working for all packages :/
9294
# hadolint ignore=DL3044
93-
# ENV PATH="$PATH"
94-
# Ignore npm package issues
95-
RUN yarn config set ignore-engines true || true
95+
ENV PATH="$PATH":"$GOROOT"/bin:"$GOPATH"/bin
96+
RUN mkdir -p ${GOPATH}/src ${GOPATH}/bin || true && \
97+
# Ignore npm package issues
98+
yarn config set ignore-engines true || true
9699

97100
#############################################################################################
98101
## @generated by .automation/build.py using descriptor files, please do not update manually ##

flavors/python/Dockerfile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,15 @@ RUN apk add --update --no-cache \
7676
&& git config --global core.autocrlf true
7777
#APK__END
7878

79-
# PATH for python
80-
# ENV # PYTHONPYCACHEPREFIX="$HOME/.cache/cpython/" NV: not working for all packages :/
79+
# PATH for golang & python
80+
ENV GOROOT=/usr/lib/go \
81+
GOPATH=/go
82+
# PYTHONPYCACHEPREFIX="$HOME/.cache/cpython/" NV: not working for all packages :/
8183
# hadolint ignore=DL3044
82-
# ENV PATH="$PATH"
83-
# Ignore npm package issues
84-
RUN yarn config set ignore-engines true || true
84+
ENV PATH="$PATH":"$GOROOT"/bin:"$GOPATH"/bin
85+
RUN mkdir -p ${GOPATH}/src ${GOPATH}/bin || true && \
86+
# Ignore npm package issues
87+
yarn config set ignore-engines true || true
8588

8689
#############################################################################################
8790
## @generated by .automation/build.py using descriptor files, please do not update manually ##

flavors/ruby/Dockerfile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,15 @@ RUN apk add --update --no-cache \
7575
&& git config --global core.autocrlf true
7676
#APK__END
7777

78-
# PATH for python
79-
# ENV # PYTHONPYCACHEPREFIX="$HOME/.cache/cpython/" NV: not working for all packages :/
78+
# PATH for golang & python
79+
ENV GOROOT=/usr/lib/go \
80+
GOPATH=/go
81+
# PYTHONPYCACHEPREFIX="$HOME/.cache/cpython/" NV: not working for all packages :/
8082
# hadolint ignore=DL3044
81-
# ENV PATH="$PATH"
82-
# Ignore npm package issues
83-
RUN yarn config set ignore-engines true || true
83+
ENV PATH="$PATH":"$GOROOT"/bin:"$GOPATH"/bin
84+
RUN mkdir -p ${GOPATH}/src ${GOPATH}/bin || true && \
85+
# Ignore npm package issues
86+
yarn config set ignore-engines true || true
8487

8588
#############################################################################################
8689
## @generated by .automation/build.py using descriptor files, please do not update manually ##

0 commit comments

Comments
 (0)