Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ const stack = new Stack(app, 'cdk-integ-assets-bundling-docker-opts');
new assets.Asset(stack, 'BundledAsset', {
path: path.join(__dirname, 'markdown-asset'), // /asset-input and working directory in the container
bundling: {
image: DockerImage.fromBuild(path.join(__dirname, 'alpine-markdown')), // Build an image
// Build an image
image: DockerImage.fromBuild(path.join(__dirname, 'alpine-markdown'), {
platform: 'linux/amd64',
}),
command: [
'sh', '-c', `
markdown index.md > /asset-output/index.html
Expand Down
Loading