Skip to content
This repository was archived by the owner on Oct 18, 2022. It is now read-only.

Caching doesn't work for me #11

Closed
dmcd opened this issue Feb 26, 2016 · 1 comment
Closed

Caching doesn't work for me #11

dmcd opened this issue Feb 26, 2016 · 1 comment

Comments

@dmcd
Copy link

dmcd commented Feb 26, 2016

Hi there,

I have a python image that takes 25mins to build (it includes gdal libraries that aren't yet available in alpine) so I'm trying to use the caching feature but haven't been able to get it to work, probably related to this: drone-plugins/drone-docker#34

Some output from my build:

[debug] Running Publish and Deploy steps
[info] Pulling image plugins/drone-ecr:latest
Drone AWS ECR Plugin built from b3bdd8e
$ /usr/bin/docker -d
WARNING: login credentials saved in /.docker/config.json
Login Succeeded
$ /usr/bin/docker version
Client:
Version:      1.9.1
API version:  1.21
Go version:   go1.4.3
Git commit:   a34a1d5
Built:        Fri Nov 20 17:56:04 UTC 2015
OS/Arch:      linux/amd64

Server:
Version:      1.9.1
API version:  1.21
Go version:   go1.4.3
Git commit:   a34a1d5
Built:        Fri Nov 20 17:56:04 UTC 2015
OS/Arch:      linux/amd64
$ /usr/bin/docker info
Containers: 0
Images: 0
Server Version: 1.9.1
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 0
Dirperm1 Supported: false
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.13.0-48-generic
Operating System: <unknown> (containerized)
CPUs: 1
Total Memory: 1.954 GiB
Name: 18ae63ad13f5
ID: 56IS:3G5A:6FK2:EWBY:IBHM:R6VW:UFQG:O5LH:JLJG:6NQ4:LMAB:DMQK
Debug mode (server): true
File Descriptors: 12
Goroutines: 19
System Time: 2016-02-26T05:57:26.765062232Z
EventsListeners: 0
Init SHA1: 
Init Path: /usr/bin/docker
Docker Root Dir: /var/lib/docker
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
$ /usr/bin/docker load -i /drone/src/bitbucket.org/geoplex/osed-api/docker/osed-api-staging.tar
$ /usr/bin/docker build --pull=true --rm=true -f Dockerfile -t 947682202348.dkr.ecr.us-east-1.amazonaws.com/geoplex/osed-api-staging:latest .
@tboerger
Copy link
Contributor

Solved via #14

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants