dazzling-sundown-39670
04/19/2021, 6:27 PMError: No 'docker' command available on PATH:
. I do have docker
in my path so I'm not sure what it's complaining aboutmillions-furniture-75402
04/19/2021, 6:42 PMdazzling-sundown-39670
04/19/2021, 6:48 PMimport * as awsx from '@pulumi/awsx';
import * as docker from '@pulumi/docker';
const buildOptions: docker.DockerBuild = {
context: '..',
cacheFrom: true,
};
export const repository = new awsx.ecr.Repository('microservices', {
lifeCyclePolicyArgs: {
rules: [
{
description: 'Keep 10 latest images',
maximumNumberOfImages: 10,
selection: 'any',
},
],
},
});
export const image = repository.buildAndPushImage(buildOptions);
Used it many times before so I'm not sure what's wrongmillions-furniture-75402
04/19/2021, 6:49 PM@pulumi/docker
?dazzling-sundown-39670
04/19/2021, 6:55 PMmillions-furniture-75402
04/19/2021, 6:55 PMdazzling-sundown-39670
04/19/2021, 8:05 PM