Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docker-based testing for Linux users #2741

Merged
merged 1 commit into from
Sep 16, 2020
Merged

Fix docker-based testing for Linux users #2741

merged 1 commit into from
Sep 16, 2020

Commits on Sep 11, 2020

  1. Fix docker-based testing for Linux users

    See #2739
    
    This change enables Linux users to run the dbt tests via the docker
    image. It follows the recommendations from this article:
    https://jtreminio.com/blog/running-docker-containers-as-current-host-user/
    
    Notable changes:
    *  Added new Makefile rule to generate a .env file that contains USER_ID
    and GROUP_ID environment variables to the ID of the current user. This
    is in turn used by docker-compose and the Dockerfile to make the Docker
    image run as the current user. (Note that on Windows or Mac, this
    behavior happens by default).
    *  Reordered Dockerfile to allow for better caching of intermediate
    images (i.e., put things that don't depend on ARGS earlier).
    *  Bumped CircleCI's Dockerfile from version 7 to 9.  Jake rebuilt
    9 off of this PR.
    Matt Ball committed Sep 11, 2020
    Configuration menu
    Copy the full SHA
    69352d8 View commit details
    Browse the repository at this point in the history