Skip to content

Commit

Permalink
jekyll build from Action 59b6f73
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandenburgh committed Jun 19, 2023
0 parents commit 42cd6c0
Show file tree
Hide file tree
Showing 114 changed files with 91,642 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
21 changes: 21 additions & 0 deletions COPYRIGHT
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Intellectual Property Notice
------------------------------

Spack is licensed under the Apache License, Version 2.0 (LICENSE-APACHE
or http://www.apache.org/licenses/LICENSE-2.0) or the MIT license,
(LICENSE-MIT or http://opensource.org/licenses/MIT), at your option.

Copyrights and patents in the Spack project are retained by contributors.
No copyright assignment is required to contribute to Spack.

SPDX usage
------------

Individual files contain SPDX tags instead of the full license text.
This enables machine processing of license information based on the SPDX
License Identifiers that are available here: https://spdx.org/licenses/

Files that are dual-licensed as Apache-2.0 OR MIT contain the following
text in the license header:

SPDX-License-Identifier: (Apache-2.0 OR MIT)
29 changes: 29 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# use standard ruby build image
FROM ruby as build-env
WORKDIR /build

# Set default locale for the environment
ENV LC_ALL C.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
ENV JEKYLL_ENV production

RUN gem update --system

# first install w/o copying in files, so we can cache dependencies in a layer
# `bundle install` can take a while.
COPY Gemfile .
RUN bundle install

# copy everything in but keep the Gemfile.lock from the original install
# Note that Gemfile.lock is in .dockerignore
COPY . ./

# Now do the much quicker Jekyll build
RUN bundle exec jekyll build --verbose

# use a lightweight run image and copy everything from the build image into it
FROM nginx:mainline-alpine
COPY --from=build-env --chown=nginx:nginx /build/_site /usr/share/nginx/html

CMD ["nginx", "-g", "daemon off;"]
21 changes: 21 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
This work was produced under the auspices of the U.S. Department of
Energy by Lawrence Livermore National Laboratory under Contract
DE-AC52-07NA27344.

This work was prepared as an account of work sponsored by an agency of
the United States Government. Neither the United States Government nor
Lawrence Livermore National Security, LLC, nor any of their employees
makes any warranty, expressed or implied, or assumes any legal liability
or responsibility for the accuracy, completeness, or usefulness of any
information, apparatus, product, or process disclosed, or represents that
its use would not infringe privately owned rights.

Reference herein to any specific commercial product, process, or service
by trade name, trademark, manufacturer, or otherwise does not necessarily
constitute or imply its endorsement, recommendation, or favoring by the
United States Government or Lawrence Livermore National Security, LLC.

The views and opinions of authors expressed herein do not necessarily
state or reflect those of the United States Government or Lawrence
Livermore National Security, LLC, and shall not be used for advertising
or product endorsement purposes.
Loading

0 comments on commit 42cd6c0

Please sign in to comment.