Files
runtime/apps/runner/pkg/api/dto/image.go
zeekay ea80dc3638 feat: Add new Dockerfiles and improve containerization
- Add main Dockerfile for production builds
- Add Dockerfile.runtime for secure code execution
- Add Dockerfile.runtime.fixed with improved configuration
- Include .dockerignore for build optimization
- Add integration documentation and publishing guides
- Update API and CLI components for better runtime support
- Enhance sandbox and container management features
2025-08-16 23:03:39 -05:00

19 lines
802 B
Go

// Copyright 2025 Hanzo Industries Inc.
// SPDX-License-Identifier: AGPL-3.0
package dto
type PullSnapshotRequestDTO struct {
Snapshot string `json:"snapshot" validate:"required"`
Registry *RegistryDTO `json:"registry,omitempty"`
} // @name PullSnapshotRequestDTO
type BuildSnapshotRequestDTO struct {
Snapshot string `json:"snapshot,omitempty"` // Snapshot ID and tag or the build's hash
Registry *RegistryDTO `json:"registry,omitempty"`
Dockerfile string `json:"dockerfile" validate:"required"`
OrganizationId string `json:"organizationId" validate:"required"`
Context []string `json:"context"`
PushToInternalRegistry bool `json:"pushToInternalRegistry"`
} // @name BuildSnapshotRequestDTO