diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 8106685b3e7..eda658e0c81 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -3,6 +3,4 @@ ARG RUBY_VERSION=3.3.5 FROM ghcr.io/rails/devcontainer/images/ruby:$RUBY_VERSION -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/* +RUN sudo apt-get update && sudo apt-get -y install --no-install-recommends pkg-config diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index d05adf8a1e8..bc2ecaae758 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -34,6 +34,8 @@ "containerEnv": { "EDITOR": "code --wait", "GIT_EDITOR": "code --wait", + "DEVCONTAINER_APP_HOST": "http://rails-app", + "MEMCACHED_ENDPOINT": "cache:11211", "CAPYBARA_SERVER_PORT": "45678", "SELENIUM_HOST": "selenium", "ELASTICSEARCH_URL": "http://search:9200", diff --git a/app/views/layouts/_session.html.erb b/app/views/layouts/_session.html.erb index 677752bc08b..468f53a2e71 100644 --- a/app/views/layouts/_session.html.erb +++ b/app/views/layouts/_session.html.erb @@ -1,7 +1,7 @@