-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
4 changed files
with
16 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,10 @@ release: | |
prerelease: auto | ||
draft: false | ||
|
||
before: | ||
hooks: | ||
- echo ${{ .Env.DOCKERHUB_PASS }} | docker login -u ${{ .Env.DOCKERHUB_USER }} --password-stdin | ||
|
||
builds: | ||
- id: darwin_amd64 | ||
main: ./cli/main.go | ||
|
@@ -90,6 +94,11 @@ brews: | |
name: rilldata | ||
email: [email protected] | ||
|
||
dockers: | ||
- image_templates: | ||
- rilldata/rill:latest | ||
- rilldata/rill:{{ .Tag }} | ||
|
||
archives: | ||
- files: | ||
- README.md | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,10 @@ | ||
# syntax = docker/dockerfile:1.1-experimental | ||
FROM ubuntu:focal | ||
|
||
WORKDIR /app | ||
RUN apt-get update && apt-get install -y ca-certificates | ||
|
||
RUN apt-get update && apt-get install -y curl unzip make g++ | ||
COPY rill /usr/local/bin | ||
RUN chmod 777 /usr/local/bin/rill | ||
|
||
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash - | ||
RUN apt-get install -y nodejs | ||
|
||
COPY package.json package-lock.json tsconfig.json ./ | ||
COPY web-local/package.json web-local/tsconfig.json web-local/tsconfig.node.json \ | ||
web-local/svelte.config.js web-local/vite.config.ts \ | ||
web-local/tailwind.config.cjs web-local/postcss.config.cjs web-local/.babelrc web-local/ | ||
COPY web-common/package.json web-common/orval.config.ts web-common/ | ||
|
||
COPY build-tools build-tools/ | ||
COPY web-local/build-tools web-local/build-tools/ | ||
COPY web-local/src web-local/src/ | ||
COPY web-common/src web-common/src/ | ||
|
||
RUN echo "Installing npm dependencies..." && \ | ||
npm install -d | ||
|
||
COPY web-local/static web-local/static/ | ||
RUN echo "Compiling the code..." && \ | ||
npm run build | ||
|
||
RUN echo "CommonJS voodoo" && \ | ||
node build-tools/replace_package_type.cjs module commonjs | ||
|
||
RUN echo '#!/bin/bash\nnode web-local/dist/web-local/src/cli/data-modeler-cli.js "$@"' > /usr/bin/rill && \ | ||
chmod +x /usr/bin/rill | ||
|
||
COPY scripts/entrypoint.sh /entrypoint.sh | ||
ENTRYPOINT /entrypoint.sh | ||
ENTRYPOINT ["rill"] | ||
CMD ["start"] |
This file was deleted.
Oops, something went wrong.