Fix Cloud Build for vpython.
Bug: 993053 Change-Id: I9af5bbf7c715701ba403e2b7ab2e720a1792fb0c Reviewed-on: https://skia-review.googlesource.com/c/skia/+/247149 Reviewed-by: Joe Gregorio <jcgregorio@google.com> Commit-Queue: Joe Gregorio <jcgregorio@google.com>
This commit is contained in:
parent
df2726ee7a
commit
2b1a25a4d3
@ -11,8 +11,6 @@ RUN apt-get update && apt-get upgrade -y && apt-get install -y \
|
||||
&& groupadd -g 2000 skia \
|
||||
&& useradd -u 2000 -g 2000 --home-dir /workspace/__cache skia
|
||||
|
||||
USER skia
|
||||
|
||||
ADD --chown=skia:skia https://storage.googleapis.com/swiftshader-binaries/OpenGL_ES/Latest/Linux/libGLESv2.so /usr/local/lib/libGLESv2.so
|
||||
ADD --chown=skia:skia https://storage.googleapis.com/swiftshader-binaries/OpenGL_ES/Latest/Linux/libEGL.so /usr/local/lib/libEGL.so
|
||||
RUN cd /tmp \
|
||||
@ -46,7 +44,8 @@ RUN cd /tmp/skia/skia \
|
||||
&& ./bin/fetch-gn \
|
||||
&& ./bin/gn gen out/Static \
|
||||
&& git rev-parse HEAD > VERSION \
|
||||
&& /tmp/depot_tools/ninja -C out/Static
|
||||
&& /tmp/depot_tools/ninja -C out/Static \
|
||||
&& chown -R skia:skia .
|
||||
|
||||
# Uncomment the lines below and update the ref to patch in a CL.
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user