You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have just started using the taskfile, i want to use it to enable build in windows, which was not earlier possible with Makefile.
As shown above in the taskfile we are executing a docker build from the Taskfile, Dockerfile used in build is subsequently executing a Make, which executes the UTs and other activities, but o/p of those commands is not visible. This puts a limitation in debugging and understanding what is going on . The current O/P is like below:
=> [builder 41/45] COPY smService/testutils/minio-certs/private.key /root/.minio/certs/ 0.0s
=> [builder 42/45] COPY smService/testutils/minio-certs/public.crt /root/.minio/certs/ 0.0s
=> [builder 43/45] RUN pwd 0.2s
=> **[builder 44/45] RUN make all CACHEBUST=$(date +%s) 189.7s**
=> [builder 45/45] RUN chmod -R 775 pkg/mod 45.1s
=> CACHED [stage-1 2/9] RUN mkdir /lib64
Dockerfile reference
# some pre activities
COPY ./build/buildProto.sh ./internal_interfaces/
COPY ./build/generateMock.sh ./src/smService
# copy minio tls certificates
COPY smService/testutils/minio-certs/private.key /root/.minio/certs/
COPY smService/testutils/minio-certs/public.crt /root/.minio/certs/
# Build the go app (smService_v2)
ARG CACHEBUST=3
RUN pwd
RUN make all CACHEBUST=$(date +%s)
RUN chmod -R 775 pkg/mod
#some post activities
i want to know if there is a way to see the o/p of the make all command executed from the Dockerfile.
TIA
The text was updated successfully, but these errors were encountered:
Task version: v3.9.0 (h1:k6ZHDqKU+NCJxN2PhHRB4gF0NSZVlRdRSbtP89pDKDA=)
Operating System: Windows 10
Example Taskfile showing the issue
I have just started using the taskfile, i want to use it to enable build in windows, which was not earlier possible with Makefile.
As shown above in the taskfile we are executing a docker build from the Taskfile, Dockerfile used in build is subsequently executing a Make, which executes the UTs and other activities, but o/p of those commands is not visible. This puts a limitation in debugging and understanding what is going on . The current O/P is like below:
Dockerfile reference
i want to know if there is a way to see the o/p of the make all command executed from the Dockerfile.
TIA
The text was updated successfully, but these errors were encountered: