-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: we use `s3_website` to push the site to S3. turns out it doesn't support Java 11 yet (laurilehmijoki/s3_website#300) so I updated our docker image to use Java 8. also fixed a deprecation warning about using `bundle install --path`, and fixed a related cwd issue with calling `bundle exec` from outside `website/`. Reviewed By: jbrown215 Differential Revision: D21786250 fbshipit-source-id: 21e01836e6d2cc8b7e33aac992533f1a7153ecdc
- Loading branch information
1 parent
71939e7
commit 38783f4
Showing
2 changed files
with
12 additions
and
6 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 |
---|---|---|
@@ -1,8 +1,11 @@ | ||
FROM circleci/ruby:2.6-node | ||
# use Debian Stretch because it still provides jre8, which s3_website currently | ||
# needs. See https://github.com/laurilehmijoki/s3_website/issues/300 and | ||
# https://github.com/laurilehmijoki/s3_website/pull/329 | ||
FROM circleci/ruby:2.6.6-stretch-node | ||
MAINTAINER Flow Team <[email protected]> | ||
|
||
# s3_website needs Java | ||
RUN sudo apt-get update && sudo apt-get install -y openjdk-11-jre-headless | ||
RUN sudo apt-get update && sudo apt-get install -y openjdk-8-jre-headless | ||
|
||
# install bundler 2.x | ||
RUN sudo gem update --system | ||
|