-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update devcontainer to use new public container (#83)
* Update Dockerfile * remove prior code tours steps * Add new dockerfile steps to tour
- Loading branch information
1 parent
d4f4ab3
commit c8dd87e
Showing
2 changed files
with
17 additions
and
108 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,9 @@ | ||
# Adapted from https://github.com/timbru31/docker-ruby-node/blob/master/2.7/16/Dockerfile | ||
# Using dependency references from https://pages.github.com/versions/ | ||
|
||
# 2.7.3 is GitHub Pages 226 compatible | ||
ARG RUBY_VERSION=2.7.3 | ||
|
||
|
||
FROM ruby:${RUBY_VERSION} | ||
|
||
ARG GH_PAGES_VERSION=226 | ||
ARG NODE_MAJOR_VERSION=16 | ||
|
||
LABEL maintainer="Sean Killeen <[email protected]>" | ||
# Our own public container that we've published to assist with this project | ||
FROM ghcr.io/excellalabs/blog-in-a-box-container:ruby2.7.3-node16 | ||
|
||
VOLUME /docs | ||
|
||
WORKDIR /docs | ||
|
||
###################################################### | ||
# Installling Base + Ruby Stuff # | ||
###################################################### | ||
|
||
RUN apt-get -y update | ||
|
||
RUN apt-get -y install \ | ||
git \ | ||
tzdata \ | ||
dos2unix | ||
|
||
RUN gem install bundler | ||
|
||
################################################################# | ||
# Installing node # | ||
################################################################# | ||
|
||
RUN curl -sL https://deb.nodesource.com/setup_${NODE_MAJOR_VERSION}.x | bash -\ | ||
&& apt-get update -qq && apt-get install -qq --no-install-recommends \ | ||
nodejs \ | ||
&& apt-get upgrade -qq \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/*\ | ||
&& npm install -g yarn@1 | ||
|
||
RUN node -v | ||
RUN npm -v | ||
RUN npm install -g cspell markdownlint-cli | ||
|
||
COPY aliases.sh /etc/profile.d/alias.sh | ||
|
||
# Coverts CRLF based files (such as those on windows devices) to LF line endings for container | ||
|
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