Skip to content

Commit

Permalink
Update docker config
Browse files Browse the repository at this point in the history
  • Loading branch information
hopsoft committed Jan 7, 2024
1 parent 08a9ef8 commit adbe612
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 32 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:3.0.3-slim-bullseye
FROM ruby:3.2.2-slim-bullseye

RUN apt-get -y update && \
apt-get -y --no-install-recommends install \
Expand Down
28 changes: 3 additions & 25 deletions bin/docker/run/local
Original file line number Diff line number Diff line change
Expand Up @@ -22,37 +22,15 @@ fi
rm -rfv /app/node_modules
ln -snv /mnt/external/node_modules /app/node_modules
yarn install

bundle install


# ============================================================================================================
# Playwright Dependencies - SEE: https://playwright.dev
# Playwright - SEE: https://playwright.dev
# ============================================================================================================
apt-get -y --no-install-recommends install \
libasound2 \
libatk-bridge2.0-0 \
libatk1.0-0 \
libc6 \
libcairo-gobject2 \
libcairo2 \
libcups2 \
libdbus-1-3 \
libexpat1 \
libfontconfig1 \
libfreetype6 \
libgbm1 \
libgdk-pixbuf2.0-0 \
libglib2.0-0 \
libgtk-3-0 \
libnss3 \
libpango-1.0-0 \
libpangocairo-1.0-0 \
libstdc++6 \
zlib1g

yarn global add playwright
playwright install-deps
apt-get clean
yarn playwright install


# ============================================================================================================
Expand Down
2 changes: 1 addition & 1 deletion test/dummy/app/assets/builds/tailwind.css

Large diffs are not rendered by default.

7 changes: 2 additions & 5 deletions test/dummy/db/structure.sql
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
CREATE TABLE IF NOT EXISTS "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY);
CREATE TABLE IF NOT EXISTS "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL);
CREATE TABLE IF NOT EXISTS "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "session_id" varchar NOT NULL, "count" integer DEFAULT 0 NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL, "name" varchar);
CREATE TABLE IF NOT EXISTS "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "session_id" varchar NOT NULL, "count" integer DEFAULT 0 NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL);
CREATE TABLE sqlite_sequence(name,seq);
CREATE INDEX "index_users_on_session_id" ON "users" ("session_id");
INSERT INTO "schema_migrations" (version) VALUES
('20221230164522'),
('20231004152703');

('20221230164522');

0 comments on commit adbe612

Please sign in to comment.