Skip to content

Add git-lfs feature to base-ubuntu image #1828

@raymond-chetty

Description

@raymond-chetty

It looks like GitHub adds hooks which block normal push operations when lfs isn't installed. The universal image has lfs enabled using a feature. Perhaps lfs can get "baked in" to base-ubuntu in the same way.

as of the most recent commits on main! 🔥🔥👍

base-ubuntu:

{
"build": {
"dockerfile": "./Dockerfile",
"context": "."
},
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": "true",
"username": "vscode",
"userUid": "1000",
"userGid": "1000",
"upgradePackages": "true"
},
"ghcr.io/devcontainers/features/git:1": {
"version": "latest",
"ppa": "false"
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "uname -a",
// Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode"
}

universal:
},
"ghcr.io/devcontainers/features/git-lfs:1": {
"version": "latest"
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions