Unable to build Dockerfile
See original GitHub issueReproduction Steps
docker build -t aws-cdk .
Error Log
→ docker build -t aws-cdk .
Sending build context to Docker daemon 132.8MB
Step 1/6 : FROM jsii/superchain
---> 46cc5c422133
Step 2/6 : WORKDIR /app
---> Using cache
---> 0383366e4ee9
Step 3/6 : ARG BUILD_ARGS
---> Using cache
---> 3d7b8404a652
Step 4/6 : COPY . .
---> aa2c5e780556
Step 5/6 : RUN ./build.sh ${BUILD_ARGS} && ./link-all.sh
---> Running in a2df63b7382b
=============================================================================================
installing...
yarn install v1.22.4
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@2.1.2: The platform "linux" is incompatible with this module.
info "fsevents@2.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@1.2.12: The platform "linux" is incompatible with this module.
info "fsevents@1.2.12" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > monocdk-experiment@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/alexa-ask@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/app-delivery@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/assert@0.0.0" has unmet peer dependency "jest@^25.5.4".
warning " > @aws-cdk/assert@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/assets@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-accessanalyzer@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-acmpca@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-amazonmq@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-amplify@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-apigateway@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-apigatewayv2@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-appconfig@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-applicationautoscaling@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-appmesh@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-appstream@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-appsync@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-athena@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-autoscaling-common@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-autoscaling-hooktargets@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-autoscaling@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-autoscalingplans@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-backup@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-batch@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-budgets@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-certificatemanager@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-cloud9@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-cloudformation@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-cloudfront@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-cloudtrail@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-cloudwatch-actions@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-cloudwatch@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-codebuild@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-codecommit@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-codedeploy@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-codepipeline-actions@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-codepipeline@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-codestar@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-codestarnotifications@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-cognito@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-config@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-datapipeline@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-dax@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-directoryservice@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-dlm@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-dms@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-docdb@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-dynamodb-global@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-dynamodb@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-ec2@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-ecr-assets@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-ecr@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-ecs-patterns@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-ecs@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-efs@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-eks-legacy@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-eks@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-elasticache@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-elasticbeanstalk@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-elasticloadbalancing@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-elasticloadbalancingv2-targets@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-elasticloadbalancingv2@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-elasticsearch@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-emr@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-events-targets@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-events@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-eventschemas@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-fms@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-fsx@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-gamelift@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-glue@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-greengrass@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-guardduty@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-iam@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-inspector@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-iot@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-iot1click@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-iotanalytics@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-iotevents@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-iotthingsgraph@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-kinesis@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-kinesisanalytics@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-kinesisfirehose@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-kms@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-lakeformation@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-lambda-destinations@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-lambda-event-sources@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-lambda-nodejs@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-lambda@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-logs-destinations@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-logs@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-managedblockchain@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-mediaconvert@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-medialive@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-mediastore@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-msk@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-neptune@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-opsworks@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-opsworkscm@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-pinpoint@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-pinpointemail@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-qldb@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-ram@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-rds@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-redshift@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-robomaker@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-route53-patterns@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-route53-targets@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-route53@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-route53resolver@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-s3-assets@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-s3-deployment@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-s3-notifications@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-s3@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-sagemaker@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-sam@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-sdb@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-secretsmanager@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-securityhub@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-servicecatalog@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-servicediscovery@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-ses-actions@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-ses@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-sns-subscriptions@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-sns@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-sqs@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-ssm@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-stepfunctions-tasks@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-stepfunctions@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-transfer@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-waf@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-wafregional@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-wafv2@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/aws-workspaces@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/core@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @aws-cdk/custom-resources@0.0.0" has unmet peer dependency "constructs@^3.0.2".
warning " > @monocdk-experiment/assert@0.0.0" has unmet peer dependency "jest@^25.5.4".
warning " > @monocdk-experiment/assert@0.0.0" has unmet peer dependency "constructs@^3.0.2".
[4/4] Building fresh packages...
Done in 52.11s.
git-secrets scan ok
lerna notice cli v3.20.2
lerna success found 167 packages
=============================================================================================
building...
lerna notice cli v3.20.2
lerna info Executing command in 167 packages: "yarn run build+test"
cdk-dasm: yarn run v1.22.4
awslint: yarn run v1.22.4
cdk-dasm: $ npm run build && npm test
dns_validated_certificate_handler: yarn run v1.22.4
awslint: $ npm run build && npm test
aws-global-lambda-coordinator: yarn run v1.22.4
pkglint: yarn run v1.22.4
prlint: yarn run v1.22.4
dns_validated_certificate_handler: $ npm run build && npm test
pkglint: $ npm run build && npm test
aws-global-lambda-coordinator: $ npm run build && npm test
prlint: $ npm run build test && npm run test
cdk-dasm: > cdk-dasm@0.0.0 build /app/packages/cdk-dasm
cdk-dasm: > tsc -b && chmod +x bin/cdk-dasm
awslint: > awslint@0.0.0 build /app/tools/awslint
awslint: > tsc -b && chmod +x bin/awslint
pkglint: > pkglint@0.0.0 build /app/tools/pkglint
pkglint: > tsc -b && tslint -p . && chmod +x bin/pkglint
aws-global-lambda-coordinator: > aws-global-lambda-coordinator@0.0.0 build /app/packages/@aws-cdk/aws-dynamodb-global/lambda-packages/aws-global-table-coordinator
aws-global-lambda-coordinator: > echo No build
aws-global-lambda-coordinator: No build
dns_validated_certificate_handler: > dns_validated_certificate_handler@0.0.0 build /app/packages/@aws-cdk/aws-certificatemanager/lambda-packages/dns_validated_certificate_handler
dns_validated_certificate_handler: > echo No build
dns_validated_certificate_handler: No build
prlint: > prlint@0.0.0 build /app/tools/prlint
prlint: > echo success "test"
prlint: success test
prlint: > prlint@0.0.0 test /app/tools/prlint
prlint: > echo sucees
prlint: sucees
dns_validated_certificate_handler: > dns_validated_certificate_handler@0.0.0 test /app/packages/@aws-cdk/aws-certificatemanager/lambda-packages/dns_validated_certificate_handler
dns_validated_certificate_handler: > jest
prlint: Done in 1.05s.
aws-global-lambda-coordinator: > aws-global-lambda-coordinator@0.0.0 test /app/packages/@aws-cdk/aws-dynamodb-global/lambda-packages/aws-global-table-coordinator
aws-global-lambda-coordinator: > jest
aws-global-lambda-coordinator: PASS test/test.lambda.handler.js
aws-global-lambda-coordinator: Global DynamoDB Handler
aws-global-lambda-coordinator: ✓ Fails if the event payload is empty (24ms)
aws-global-lambda-coordinator: ✓ Fails if the request type is bogus (3ms)
aws-global-lambda-coordinator: ✓ Call createGlobalTable if RequestType is Create (23ms)
aws-global-lambda-coordinator: ✓ Call describeGlobalTable and updateGlobalTable if RequestType is Update (6ms)
aws-global-lambda-coordinator: ✓ Do nothing if RequestType is Delete (1ms)
aws-global-lambda-coordinator: Test Suites: 1 passed, 1 total
aws-global-lambda-coordinator: Tests: 5 passed, 5 total
aws-global-lambda-coordinator: Snapshots: 0 total
aws-global-lambda-coordinator: Time: 2.126s
aws-global-lambda-coordinator: Ran all test suites.
aws-global-lambda-coordinator: Done in 4.51s.
dns_validated_certificate_handler: PASS test/handler.test.js
dns_validated_certificate_handler: DNS Validated Certificate Handler
dns_validated_certificate_handler: ✓ Empty event payload fails (16ms)
dns_validated_certificate_handler: ✓ Bogus operation fails (2ms)
dns_validated_certificate_handler: ✓ Create operation requests a certificate (33ms)
dns_validated_certificate_handler: ✓ Create operation with `SubjectAlternativeNames` requests a certificate with validation records for all options (8ms)
dns_validated_certificate_handler: ✓ Create operation with `SubjectAlternativeNames` requests a certificate for all options without duplicates (9ms)
dns_validated_certificate_handler: ✓ Create operation fails after more than 60s if certificate has no DomainValidationOptions (8ms)
dns_validated_certificate_handler: ✓ Create operation fails within 360s and 10 attempts if certificate has no DomainValidationOptions (9ms)
dns_validated_certificate_handler: ✓ Create operation with a maximum of 1 attempts describes the certificate once (9ms)
dns_validated_certificate_handler: ✓ Delete operation deletes the certificate (7ms)
dns_validated_certificate_handler: ✓ Delete operation is idempotent (6ms)
dns_validated_certificate_handler: ✓ Delete operation succeeds if certificate becomes not-in-use (6ms)
dns_validated_certificate_handler: ✓ Delete operation fails within 360s and 10 attempts if certificate is in-use (9ms)
dns_validated_certificate_handler: ✓ Delete operation fails if some other error is encountered during describe (14ms)
dns_validated_certificate_handler: ✓ Delete operation fails if some other error is encountered during delete (4ms)
dns_validated_certificate_handler: ✓ Delete operation with a maximum of 1 attempts describes the certificate once (4ms)
dns_validated_certificate_handler: Test Suites: 1 passed, 1 total
dns_validated_certificate_handler: Tests: 15 passed, 15 total
dns_validated_certificate_handler: Snapshots: 0 total
dns_validated_certificate_handler: Time: 2.217s
dns_validated_certificate_handler: Ran all test suites.
dns_validated_certificate_handler: Done in 4.63s.
cdk-dasm: > cdk-dasm@0.0.0 test /app/packages/cdk-dasm
cdk-dasm: > jest
awslint: > awslint@0.0.0 test /app/tools/awslint
awslint: > echo ok
awslint: ok
awslint: Done in 11.76s.
cdk-dasm: PASS test/dasm.test.js
cdk-dasm: ✓ basic test (15ms)
cdk-dasm: ✓ no props (2ms)
cdk-dasm: ✓ multiple of same type (1ms)
cdk-dasm: ✓ bucket-and-key (4ms)
cdk-dasm: Test Suites: 1 passed, 1 total
cdk-dasm: Tests: 4 passed, 4 total
cdk-dasm: Snapshots: 4 passed, 4 total
cdk-dasm: Time: 0.926s
cdk-dasm: Ran all test suites.
cdk-dasm: Done in 12.53s.
pkglint: > pkglint@0.0.0 test /app/tools/pkglint
pkglint: > echo success
pkglint: success
pkglint: Done in 13.59s.
yarn-cling: yarn run v1.22.4
yarn-cling: $ npm run build && npm test
yarn-cling: > yarn-cling@0.0.0 build /app/tools/yarn-cling
yarn-cling: > tsc
yarn-cling: > yarn-cling@0.0.0 test /app/tools/yarn-cling
yarn-cling: > ln -sf ../../package2 test/test-fixture/package1/node_modules/ && jest
yarn-cling: ln: target ‘test/test-fixture/package1/node_modules/’ is not a directory: No such file or directory
yarn-cling: npm ERR! Test failed. See above for more details.
yarn-cling: error Command failed with exit code 1.
yarn-cling: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
lerna ERR! yarn run build+test exited 1 in 'yarn-cling'
real 0m31.536s
user 1m29.953s
sys 0m3.442s
❌ Last command failed. Scroll up to see errors in log (search for '!!!!!!!!').
The command '/bin/sh -c ./build.sh ${BUILD_ARGS} && ./link-all.sh' returned a non-zero code: 1
Environment
- CLI Version :
- Framework Version:
- OS :
- Language :
Other
This is 🐛 Bug Report
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:10 (7 by maintainers)
Top Results From Across the Web
Unable to build docker image [duplicate] - Stack Overflow
$ docker build -f Dockerfile -t $IMAGE_TAG . The current directory dot . is missing at the end in your command line.
Read more >Unable to build my docker image
I have a created a project as well as dockerfiles inside it. I'm trying to run it from docker but I keep getting...
Read more >Docker: “build” Requires 1 Argument Error - Baeldung
The most common reason for “Docker build Requires 1 Argument” error is when we try to build the image without providing sufficient arguments....
Read more >Unable to build docker image. Please check your ... - GitHub
Successful build when everything is set and up. Actual behavior. An error occurs with the message Unable to build docker image. Please check ......
Read more >SOLVED: Docker build “Could not resolve 'archive.ubuntu ...
I was configuring Apache server using an ubuntu:latest image and during the process, i encountered an unusual error where i couldn't apt-get anything...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Add this to
.dockerignore
to fix this error (needed since 8f614e4bbbe02170f2ddfbbdd19f4feb19761bca I think)All node_modules folders are ignored when sources are being copied into the container, but this one is actually checked into git, and being used for test cases.
I can provide a PR for this.
There will be other error down the line, since d86e5001e08c21b846c47ed051f6c17fc9826d1a the build script runs docker. There’s no Docker daemon running inside the container when building the image. Not 100% sure what the best way to resolve that is. Perhaps a slightly different setup for the development in Docker workflow.
@robertd
The error message
verify "future flags" are added to cdk.json
comes from trying to run the init templates in each language in a temp dir and check that theircdk.json
both exists and contains the “future flags” (listed below).https://github.com/aws/aws-cdk/blob/a1b5bf6f5a77e236169f95159cf62a2ecfb25bc4/packages/aws-cdk/test/init.test.ts#L51-L77
https://github.com/aws/aws-cdk/blob/a1b5bf6f5a77e236169f95159cf62a2ecfb25bc4/packages/%40aws-cdk/cx-api/lib/features.ts#L60-L67
So either your build is failing to generate a cdk.json with those flags, or (more likely due to the second .NET error. You are failing to create the .NET init templates. You should check that you have all the prerequisites to build a .NETCore project installed (
dotnet
CLI principally).That looks like a separate issue from the initial one though, so if you arent able to figure that out with that info, please go ahead and cut a new issue with the information you initially provided and tag me in it so I can help further.
😸 😷