sodonnel commented on a change in pull request #11:
URL: https://github.com/apache/ozone-docker-runner/pull/11#discussion_r814150623
##########
File path: Dockerfile
##########
@@ -14,10 +14,27 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-FROM golang:1.17.6-buster
-RUN GO111MODULE=off go get -u github.com/rexray/gocsi/csc
-
-FROM centos:7.9.2009
+FROM golang:1.17.7-buster AS go1
+RUN go install github.com/rexray/gocsi/csc@latest
+
+FROM golang:1.17.7-buster AS go2
+# Compile latest goofys for arm64 if necessary, which doesn't have a released
binary
+RUN set -eux ; \
+ ARCH="$(arch)"; \
+ if [ ${ARCH} = "aarch64" ]; then \
+ git clone https://github.com/kahing/goofys.git ; \
+ cd goofys ; \
Review comment:
OK - makes sense. Pity there doesn't seem to be another release
upstream, but for now we will need to use master or a specific commit on master
if we want to protect ourselves from future changes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]