I’m trying to build a base docker image in a bitbucket pipeline. The base docker image is built using the following dockerfile: FROM node:7-alpine RUN apk add –update docker openrc RUN rc-update add docker boot RUN mkdir /apps COPY package*.json /apps/ WORKDIR /apps RUN npm install When building the dockerfile in my Bitbucket pipeline, I ..
I have a grails app that I’m setting up an internal bitbucket-pipeline runner to test. I have everything at this point set up and working correctly, however I’m trying to optimize the pipeline by having it cache all of our plugins/dependencies (and hopefully the built app itself too in the end). I’m having problems, however, ..
This is what I’m trying to do. I have a docker image that is in a private ECR repo. This docker image is built off a base docker image that is also in a private ECR repo. I have been able to build this docker image off the base image locally, but when executing the ..
This is what I’m trying to do. I have a docker image that is in a private ECR repo. This docker image is built off a base docker image that is also in a different private ECR repo. I have been able to build this docker image off the base image locally, but when executing ..
I’ve got a NodeJS project in a Bitbucket repo, and I am struggling to understand how to use Bitbucket Pipelines to get it from there onto my DigitalOcean server, where it can be served on the web. So far I’ve got this image: node:10.15.3 pipelines: default: – parallel: – step: name: Build caches: – node ..
What I need is a way to build a Dockerfile within the repository as an image and use this as the image for the next step(s). I’ve tried the Bitbucket Pipeline configuration below but in the "Build" step it doesn’t seem to have the image (which was built in the previous step) in its cache. ..
I am new on creating pipelines on bitbucket to automate building a specific branch after merge. The project is written in C++ and has the following structure: PROJECT FOLDER – .devcontainer/ – devcontainer.json – bin/ – doc/ – lib/ – src/ – CMakeLists.txt – … – CMakeLists.txt – clean.sh – compile.sh – configure.sh – DockerFile ..
I’m pretty new to Docker and I have the following requirement: I need to create a new Docker image (via Dockerfile) that used as FROM in a Bitbucket Pipelines and this image sets an environment variable that captures current Git feature-branch name. Here is my attempt: FROM maven:3.8.1-openjdk-8-slim .. .. ENV GIT_FEATURE_BRANCH_NAME RUN (git rev-parse ..
I have a BitBucket pipeline I am using to push a docker image into ECR. I am using a custom private build environment that I was able to push into ECR, but for some reason I’m unable to use that build environment in my pipeline. I am able to login to the ECR repo, but ..
On Bitbuckets pipelines, whenever I try to run a bundle exec rspec that contains rspec test that uses Active Storage I get the following error, for every of these tests: ActiveStorage::IntegrityError: ActiveStorage::IntegrityError # ./spec/requests/api/v1/spa_clients/identity_providers/update_spec.rb:127:in `block (3 levels) in <top (required)>’ # ./spec/requests/api/v1/spa_clients/identity_providers/update_spec.rb:135:in `block (3 levels) in <top (required)>’ This is weird since: If I run ..