I’m building a docker image and pushing it to ECR. My docker contains some bigger python packages like pandas etc. which takes some time around 40 to 50 mins. I’m using cache_from step in my docker_build step, it’s working fine for some but it’s not working if I include pandas and NumPy in my requirements ..
I found great project but I want to fix some part of the project So, I forked that project and tried to fix the code. I want to check is it working well When I build it so I checked the document. LINK But it said that there is a instruction but it connects to ..
I have a drone server and runner running on an EC2 machine, seems to be working fine until the publish to ECR step. I keep running into the error in the screenshot below: Below is the code for the publish step in my drone.yml, any help is much appreciated: – name: publish image: plugins/ecr pull: ..
I’m setting up a pipeline for a java app. I can successfully build the app into a JAR, but I then want to create a docker container and add the JAR to that container. My jar file is created at /drone/src/target/app.jar However, when I try to ADD the jar during the container build stage, I ..
I’m using DroneCI and I’m trying to use the ECR plugin to push an image. But I want to build the image in stages and test each stage. The problem is that overriding the commands key seems to also nullify anything the plugin actually does. For example this stage will just fail. – name: build ..
I have been digging through the internet for 3 days now. I’m sure at this point I’m just doing something silly, but I’m hoping someone can point out what that is as I’ve gone through so many troubleshooting posts on this I don’t know which way is up anymore. My goal is to run Drone ..
My project is a pretty simple website compiled with gulp. Gulp does: PostCSS -> CSS; and Pug -> HTML; and Some image resizing Nothing too shocking. It runs on my machine. It runs on my other machine. No sweat. All good. It used to run on Travis CI (before I ran out of credits 🙁 ..
I am having issues running drone exec on my local Machine Ubuntu, here is how i run it and .drone.jsonnet content .drone.jsonnet: local default_deps_base=’libsystemd-dev libboost-thread-dev libgtest-dev ‘ + ‘libboost-serialization-dev libboost-program-options-dev libunbound-dev nettle-dev libevent-dev libminiupnpc-dev ‘ + ‘libunwind8-dev libsodium-dev libssl-dev libreadline-dev libhidapi-dev libusb-1.0-0-dev libprotobuf-dev protobuf-compiler python3 ‘ + ‘pkg-config libsqlite3-dev qttools5-dev libcurl4-openssl-dev’; local default_deps=’g++ ‘ + ..
Physical machine hosts file 192.168.32.103 gogs.com 192.168.32.105 drone.com Gogs virtual machine /etc/hosts file 192.168.32.105 drone.com Drone virtual machine /etc/hosts file 192.168.32.103 gogs.com The following commands are all operated on the VMware virtual machine. Gogs Docker Run Command docker run -d -p 8022:22 -p 80:3000 –add-host=drone.com:192.168.32.105 –name=gogs -v /srv/gogs-data:/data gogs/gogs:latest Drone Server Run Command docker run ..
In Dockerfile, usually have the ENV set in file to present environment variables, build the image using the values supplied from command line. I am using DroneCI, but I cannot find a way to set docker ENV in. I have referenced these, but seemed not working: https://docs.drone.io/pipeline/environment/syntax/ (Looks like setting ENV for outside container, not ..