Skip to content

Commit

Permalink
Revert "use as serverless base"
Browse files Browse the repository at this point in the history
This reverts commit 5c6e407.
  • Loading branch information
jbudz committed May 13, 2024
1 parent a42534d commit 76155b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/dev/build/tasks/os_packages/create_os_package_tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,15 @@ export const CreateDockerServerless: Task = {
async run(config, log, build) {
await runDockerGenerator(config, log, build, {
architecture: 'x64',
baseImage: 'chainguard',
baseImage: 'ubuntu',
context: false,
serverless: true,
image: true,
dockerBuildDate,
});
await runDockerGenerator(config, log, build, {
architecture: 'aarch64',
baseImage: 'chainguard',
baseImage: 'ubuntu',
context: false,
serverless: true,
image: true,
Expand Down Expand Up @@ -206,7 +206,7 @@ export const CreateDockerContexts: Task = {
image: false,
});
await runDockerGenerator(config, log, build, {
baseImage: 'chainguard',
baseImage: 'ubuntu',
serverless: true,
context: true,
image: false,
Expand Down
2 changes: 1 addition & 1 deletion src/dev/build/tasks/os_packages/docker_generator/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export async function runDockerGenerator(

let imageFlavor = '';
if (flags.baseImage === 'ubi') imageFlavor += `-ubi`;
if (flags.baseImage === 'chainguard' && !flags.serverless) imageFlavor += `-chainguard`;
if (flags.baseImage === 'chainguard') imageFlavor += `-chainguard`;
if (flags.ironbank) imageFlavor += '-ironbank';
if (flags.cloud) imageFlavor += '-cloud';
if (flags.serverless) imageFlavor += '-serverless';
Expand Down

0 comments on commit 76155b3

Please sign in to comment.