mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-07 06:22:03 +00:00
Compare commits
6
Commits
0.0.3
...
upstream/0.1.3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b1acd0a7b0 | ||
|
|
8be58d3a7f | ||
|
|
c5051ea0ea | ||
|
|
6316b99556 | ||
|
|
bb9ce6b287 | ||
|
|
a3ca3e9218 |
@@ -14,7 +14,7 @@ TMPDIR=$(shell mktemp -d -t XXXXXX)
|
|||||||
|
|
||||||
|
|
||||||
# Build a debian source package
|
# Build a debian source package
|
||||||
all: build_in_deb
|
all: clean build_in_deb
|
||||||
|
|
||||||
build_in_deb:
|
build_in_deb:
|
||||||
echo "GOPATH = " $(ROOT_PATH)
|
echo "GOPATH = " $(ROOT_PATH)
|
||||||
@@ -29,7 +29,7 @@ install:
|
|||||||
install -m 0755 bin/docker $(DESTDIR)/$(INSDIR)
|
install -m 0755 bin/docker $(DESTDIR)/$(INSDIR)
|
||||||
install -o root -m 0755 etc/docker.upstart $(DESTDIR)/etc/init/docker.conf
|
install -o root -m 0755 etc/docker.upstart $(DESTDIR)/etc/init/docker.conf
|
||||||
|
|
||||||
$(BUILD_SRC): cleanup
|
$(BUILD_SRC): clean
|
||||||
# Copy ourselves into $BUILD_SRC to comply with unusual golang constraints
|
# Copy ourselves into $BUILD_SRC to comply with unusual golang constraints
|
||||||
tar --exclude=*.tar.gz --exclude=checkout.tgz -f checkout.tgz -cz *
|
tar --exclude=*.tar.gz --exclude=checkout.tgz -f checkout.tgz -cz *
|
||||||
mkdir -p $(BUILD_SRC)/$(GITHUB_PATH)
|
mkdir -p $(BUILD_SRC)/$(GITHUB_PATH)
|
||||||
@@ -79,6 +79,5 @@ gotest:
|
|||||||
done
|
done
|
||||||
@sudo rm -rf /tmp/docker-*
|
@sudo rm -rf /tmp/docker-*
|
||||||
|
|
||||||
cleanup:
|
clean:
|
||||||
|
rm -rf $(BUILD_PATH) debian/$(PKG_NAME)* debian/files $(BUILD_SRC) checkout.tgz bin
|
||||||
rm -rf $(BUILD_PATH) debian/$(PKG_NAME)* debian/files $(BUILD_SRC) checkout.tgz
|
|
||||||
|
|||||||
+1
-1
@@ -15,7 +15,7 @@ import (
|
|||||||
const CONFIGFILE = "/var/lib/docker/.dockercfg"
|
const CONFIGFILE = "/var/lib/docker/.dockercfg"
|
||||||
|
|
||||||
// the registry server we want to login against
|
// the registry server we want to login against
|
||||||
const REGISTRY_SERVER = "http://registry.docker.io"
|
const REGISTRY_SERVER = "https://registry.docker.io"
|
||||||
|
|
||||||
type AuthConfig struct {
|
type AuthConfig struct {
|
||||||
Username string `json:"username"`
|
Username string `json:"username"`
|
||||||
|
|||||||
Reference in New Issue
Block a user