ntheanh201 commented on PR #7958:
URL: https://github.com/apache/trafficcontrol/pull/7958#issuecomment-1986713089
> Maybe this is a problem with building on OS X, but I run into an error
following the test instructions
>
> ```
> ./pkg -o -b -v ats
> Building ats.
> [+] Building 45.9s (18/18) FINISHED
docker:desktop-linux
> => [ats internal] load build definition from Dockerfile-tsb
0.0s
> => => transferring dockerfile: 2.63kB
0.0s
> => [ats internal] load .dockerignore
0.0s
> => => transferring context: 2B
0.0s
> => [ats internal] load metadata for docker.io/library/rockylinux:8
1.1s
> => [ats auth] library/rockylinux:pull token for registry-1.docker.io
0.0s
> => [ats internal] load build context
0.0s
> => => transferring context: 44B
0.0s
> => [ats tsb-build 1/6] FROM
docker.io/library/rockylinux:8@sha256:c464612ef7e3d54d658c3eaa4778b5cdc990ec7a4d9ab63b0f00c9994c6ce980
4.8s
> => => resolve
docker.io/library/rockylinux:8@sha256:c464612ef7e3d54d658c3eaa4778b5cdc990ec7a4d9ab63b0f00c9994c6ce980
0.0s
> => =>
sha256:c464612ef7e3d54d658c3eaa4778b5cdc990ec7a4d9ab63b0f00c9994c6ce980 547B /
547B
0.0s
> => =>
sha256:be879ad24fd5387ed135b99ebf0622c323afab20ff7f1967d6f06e5dbf07ee31 529B /
529B
0.0s
> => =>
sha256:c49dbacab8723f9007f4cc25a5d701c40f2ba3597d8fce029830876326b6fbeb 1.49kB
/ 1.49kB
0.0s
> => =>
sha256:a49f4b3e1553c4468c366b42fd1cde2a27729bd7ab13162ad061af2bd1ef9268 72.15MB
/ 72.15MB
2.0s
> => => extracting
sha256:a49f4b3e1553c4468c366b42fd1cde2a27729bd7ab13162ad061af2bd1ef9268
2.7s
> => [ats tsb-build 2/6] RUN yum clean all && yum -y install git && git
config --global --add safe.directory '*'
23.3s
> => [ats stage-1 2/7] RUN YUM -y install git sudo
27.3s
> => [ats tsb-build 3/6] COPY GO_VERSION /
0.0s
> => [ats tsb-build 4/6] RUN curl -L https://dl.google.com/go/go$(cat
/GO_VERSION).linux-amd64.tar.gz | tar -C /usr/local -xz && ln -s
/usr/local/go/bin/go /usr/bin/g 3.0s
> => [ats tsb-build 5/6] RUN mkdir -p /go/src/github.com/comcast/tsb && cd
/go/src/github.com/comcast/tsb && git init && git remote add origin
https://github.com/comc 0.8s
> => [ats tsb-build 6/6] RUN cd /go/src/github.com/comcast/tsb &&
CGOENABLED=0 go build -o /usr/bin/tsb
12.0s
> => [ats stage-1 3/7] RUN ECHO -e "#!/usr/bin/env bash\necho
docker-compose is not supported in this container and the build command will
not work.\nexit 1" > /usr/b 0.2s
> => [ats stage-1 4/7] RUN CHMOD +x /usr/bin/docker-compose
0.3s
> => [ats stage-1 5/7] COPY --FROM=TSB-BUILD /usr/bin/tsb /usr/bin/tsb
0.0s
> => [ats stage-1 6/7] RUN GIT config --global user.email
"[email protected]"
0.1s
> => [ats stage-1 7/7] RUN GIT config --global user.name "Apache Traffic
Control"
0.2s
> => [ats] exporting to image
0.4s
> => => exporting layers
0.4s
> => => writing image
sha256:4ec40d3f4f2ac2e4648169feeae1ad8412840377d4cc9cb48aad6384ab2a5d9f
0.0s
> => => naming to docker.io/library/build-ats
0.0s
> realpath: illegal option -- e
> usage: realpath [-q] [path ...]
> realpath: illegal option -- e
> usage: realpath [-q] [path ...]
> unknown flag: --services
> parsing /Users/eric.friedrich/Development/trafficcontrol/version:
Top-level object must be a mapping
> parsing /Users/eric.friedrich/Development/trafficcontrol/version:
Top-level object must be a mapping
> Results in 'dist':
> total 0
> Results in 'dist':
> total 0
> ```
Lemme try it with MacOS, with Linux (Ubuntu) it's working
--
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]