Code Monkey home page Code Monkey logo

Comments (8)

dkarp0 avatar dkarp0 commented on September 3, 2024 1

found a way to do this using the machine executor:

executors:
  build-executor:
    machine:
      docker_layer_caching: true

from aws-ecr-orb.

iynere avatar iynere commented on September 3, 2024 1

@dankarpinski is there a reason you closed your PR back in October? we just merged a similar change to our Docker orb:

CircleCI-Public/docker-orb#44

feel free to re-open or open a new PR and we will get it merged ASAP—thanks !

from aws-ecr-orb.

adamrp avatar adamrp commented on September 3, 2024

But how do you use DLC with a custom docker executor as your original question stated? e.g., if my config.yml file looks something like this:

version: 2.1
orbs:
  aws-ecr: circleci/[email protected]
  aws-ecs: circleci/[email protected]
executors:
  ubuntu-lfs:
    docker:
      - image: "${AWS_ECR_ACCOUNT_URL}/circle-executor:latest"
workflows:
  build-and-deploy:
    jobs:
      - aws-ecr/build-and-push-image:
          executor: ubuntu-lfs
          setup-remote-docker: true
... SNIP ...                       

The only argument that setup-remote-docker accepts is a Boolean (true in this case), correct? and the docker executor type doesn't have a parameter for enabling DLC?

from aws-ecr-orb.

dkarp0 avatar dkarp0 commented on September 3, 2024

Luckily wasn't necessary for my needs. It isn't possible now with a custom docker executor.

from aws-ecr-orb.

PavlosMelissinos avatar PavlosMelissinos commented on September 3, 2024

@dankarpinski I have the same question as @iynere

I'd appreciate it if the PR could be merged!

from aws-ecr-orb.

dkarp0 avatar dkarp0 commented on September 3, 2024

Re-opened as a few people have mentioned demand. @iynere could you merge?

from aws-ecr-orb.

a7i avatar a7i commented on September 3, 2024

@dankarpinski @iynere I created a new PR which also conforms with the naming convention. PR #116

from aws-ecr-orb.

KyleTryon avatar KyleTryon commented on September 3, 2024

Resolved in #116. Thank you.

from aws-ecr-orb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.