chrisolido opened a new issue, #7512:
URL: https://github.com/apache/incubator-devlake/issues/7512
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
## Question
I am getting "ERROR: Service 'devlake' failed to build: failed to parse
platform : "" is an invalid component of "": platform specifier component
must match "^[A-Za-z0-9_-]+$": invalid argument"
## Screenshots
---
[root@ip-172-27-0-126 incubator-devlake]# docker-compose up -d
WARNING: The HTTPS_PROXY variable is not set. Defaulting to a blank string.
WARNING: The GOPROXY variable is not set. Defaulting to a blank string.
Building devlake
Step 1/61 : FROM --platform=linux/amd64 debian:bullseye as debian-amd64
---> 53ceee7f0775
Step 2/61 : RUN apt-get update
---> Using cache
---> 73ff9bf8541c
Step 3/61 : RUN apt-get install -y libssh2-1-dev libssl-dev zlib1g-dev
---> Using cache
---> 8fd20c10b506
Step 4/61 : FROM --platform=linux/arm64 debian:bullseye as debian-arm64
---> 53ceee7f0775
Step 5/61 : RUN apt-get update
---> Using cache
---> 73ff9bf8541c
Step 6/61 : RUN apt-get install -y libssh2-1-dev libssl-dev zlib1g-dev
---> Using cache
---> 8fd20c10b506
Step 7/61 : FROM --platform=$BUILDPLATFORM golang:1.20.4-bullseye as builder
ERROR: Service 'devlake' failed to build: failed to parse platform : "" is
an invalid component of "": platform specifier component must match
"^[A-Za-z0-9_-]+$": invalid argument
[root@ip-172-27-0-126 incubator-devlake]# vi .env
[root@ip-172-27-0-126 incubator-devlake]# uname -a
Linux ip-172-27-0-126.ap-southeast-1.compute.internal
5.10.216-204.855.amzn2.x86_64 #1 SMP Sat May 4 16:53:27 UTC 2024 x86_64
x86_64 x86_64 GNU/Linux
[root@ip-172-27-0-126 incubator-devlake]#
---
## Additional context
I am installing from amz2 ec2. New installation.
--
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]