Comments (4)
some thoughts on the format for the valist.yml
and how to keep config consistent between desktop/CI
in the valist.yml
file, we'll need the following keys:
image: DOCKER_IMAGE
install: INSTALL_COMMAND
build: BUILD_COMMAND
out: OUTPUT_DIR_OR_FILE_INSIDE_CONTAINER
the build
and install
commands are optional if the image
that is set already builds what's needed for out
after image
is set, we run the install
command, then the build
command provided inside of a new container (or build a new image from the supplied one). then, we mount and copy the out
directory on the container that contains the artifact, and copy it to the host + publish.
image
could also be set to the location of a Dockerfile that's already in the repository, and the rest of the flow stays the same.
eventually, we could/should use a system like buildpacks.io that would auto-detect the package type and start with the relevant container image.
from valist.
To that end, maybe something like:
const generateDockerfile = (baseImage: string, source: string, buildCommand: string) => `
FROM ${baseImage}
WORKDIR /opt/build
CP ${source} ./
WORKDIR /opt/build/${source}
RUN ${buildCommand}
`;
from valist.
Oh and +1 to the buildpacks.io, we should add that to the roadmap.
from valist.
Closed by #28
from valist.
Related Issues (20)
- [API] Package statistics service
- [API] Tail IPFS stats
- [Solidity] New Valist EVM contracts
- [API] Deploy subgraph HOT 1
- [CLI] Add easy "download" command in addition to "install"
- [CLI] Go CLI v2
- Docs Improvements/Suggestions HOT 6
- Add basic support for source code snapshots HOT 1
- Basic typescript CLI for publishing and fetching.
- Add Clickable Tiles on the Valist Homepage for More Info
- Add clickable tiles to homepage for more info (possibly link to docs?)
- Launch / Install Options HOT 2
- /latest endpoint doesn't consider semver (mutable tags support)
- Easy to validate the schema of the JSON metadata in SDKs
- Simple multi-sig
- Sentry error logging for v2
- Revamped onboarding flow
- v2.3.0 Release
- Enhanced IPFS gateway
- Statuspage for uptime
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from valist.