Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRAFT: Add Node 16, PNPM and Chrome to Vaticle Ubuntu Docker image; add tower-http crate lib #431

Draft
wants to merge 8 commits into
base: development
Choose a base branch
from
Draft
Show file tree
Hide file tree
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
12 changes: 11 additions & 1 deletion images/docker/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,14 @@
#

FROM ubuntu:focal-20210723
RUN apt-get -y update && apt-get install -y openjdk-11-jre-headless && rm -rf /var/lib/apt/lists
RUN apt-get -y update && apt-get install -y openjdk-11-jre-headless curl bash wget gnupg && rm -rf /var/lib/apt/lists
# Install latest chrome dev package and fonts to support major charsets (Chinese, Japanese, Arabic, Hebrew, Thai and a few others)
# This installs the necessary libs to make the bundled version of Chromium that Puppeteer installs, work.
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
&& apt-get update \
&& apt-get install -y google-chrome-stable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf libxss1 \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get -y install nodejs && npm install -g pnpm
1 change: 1 addition & 0 deletions library/crates/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions library/crates/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ tokio-stream = "=0.1.11"
tonic = { version = "=0.8.0", features = ["tls"] }
tonic-build = "=0.8.0"
tower = "=0.4.13"
tower-http = { version = "=0.3.5", features = ["cors"] }
tracing = "=0.1.37"
tracing-subscriber = "=0.3.16"
uuid = { version = "=1.1.2", features = ["fast-rng", "v4"] }
Expand Down