-
-
Notifications
You must be signed in to change notification settings - Fork 936
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into setup-downloads-on-timescaledb
- Loading branch information
Showing
552 changed files
with
11,515 additions
and
4,586 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,33 +1,8 @@ | ||
# syntax = docker/dockerfile:1.4 | ||
|
||
ARG RUBY_VERSION=3.3 | ||
ARG RUBY_VERSION=3.3.5 | ||
FROM ghcr.io/rails/devcontainer/images/ruby:$RUBY_VERSION | ||
|
||
FROM ruby:${RUBY_VERSION}-alpine | ||
|
||
ENV USERNAME=vscode \ | ||
UID=1000 \ | ||
GID=1000 | ||
|
||
# Install the git-credential-manager package via the dotnet tooling to | ||
RUN apk update && apk add --no-cache \ | ||
github-cli \ | ||
git \ | ||
build-base \ | ||
bash \ | ||
mandoc \ | ||
man-pages \ | ||
tzdata \ | ||
libpq-dev \ | ||
libmagic \ | ||
nodejs \ | ||
sudo | ||
|
||
# create non-root group and user | ||
RUN addgroup -g $GID $USERNAME \ | ||
&& adduser -s /bin/bash -u $UID -G $USERNAME $USERNAME --disabled-password --gecos "" | ||
|
||
# set sudo permissions for vscode user | ||
RUN echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME | ||
RUN chmod 0440 /etc/sudoers.d/$USERNAME | ||
|
||
USER $USERNAME | ||
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get -y install --no-install-recommends pkg-config \ | ||
&& apt-get clean && rm -rf /var/lib/apt/lists/* |
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,12 +1,16 @@ | ||
version: "3" | ||
services: | ||
app: | ||
rails-app: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile | ||
command: /bin/sh -c "while sleep 1000; do :; done" | ||
command: sleep infinity | ||
volumes: | ||
- ../..:/workspaces:cached | ||
environment: | ||
- ELASTICSEARCH_URL=http://search:9200 | ||
- DATABASE_URL=postgres://postgres@db:5432 | ||
depends_on: | ||
- search | ||
- db | ||
- selenium | ||
|
||
selenium: | ||
image: selenium/standalone-chromium | ||
restart: unless-stopped |
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
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
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
Oops, something went wrong.