docker-ce-packaging icon indicating copy to clipboard operation
docker-ce-packaging copied to clipboard

[master] fix some minor nits

Open thaJeztah opened this issue 3 years ago • 1 comments

static: create hashes for all files, not just linux

Also switching to alpine, instead of debian:jessy, which is EOL

Makefile: set initial branch name

Set an initial branch name so that git does not create additional noise about the default not being configured. Using "master" for now, which was the previous default; we can probably safely change it to "main", but leaving that for a future exercise.

thaJeztah avatar Jun 30 '22 15:06 thaJeztah

Ah, hm.... looks like we're running on older versions of git;

+ make REF=master raspbian-bullseye
Init https://github.com/docker/cli.git
git init --initial-branch=master src/github.com/docker/cli
error: unknown option `initial-branch=master'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]

    --template <template-directory>
                          directory from which templates will be used
    --bare                create a bare repository
    --shared[=<permissions>]
                          specify that the git repository is to be shared amongst several users
    -q, --quiet           be quiet
    --separate-git-dir <gitdir>
                          separate git dir from working tree

Makefile:25: recipe for target 'src/github.com/docker/cli' failed
make: *** [src/github.com/docker/cli] Error 129
script returned exit code 2

thaJeztah avatar Jun 30 '22 15:06 thaJeztah