Skip to content

Commit

Permalink
Added vmtouch image.
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvenga committed Aug 22, 2024
1 parent 4ce1cbf commit 48b66ec
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
root = true

[*]
insert_final_newline = true
indent_style = space
trim_trailing_whitespace = true
10 changes: 10 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "weekly"
14 changes: 14 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "Build"
on:
workflow_dispatch:
push:
branches:
- master
schedule:
# Random time each week.
- cron: '32 1 * * 3'

jobs:
build:
uses: silvenga-docker/building/.github/workflows/publish-github.yaml@master
secrets: inherit
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"yaml.schemas": {
"https://json.schemastore.org/github-workflow.json": ".github/workflows/build.yml"
}
}
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM debian:bullseye AS builder

RUN set -xe \
&& apt-get update \
&& apt-get install -y git build-essential \
&& mkdir /source \
&& cd /source \
&& git clone https://github.com/hoytech/vmtouch.git . \
&& make vmtouch

FROM debian:bullseye

LABEL maintainer="Mark Lopez <[email protected]>"

COPY --from=builder /source/vmtouch /bin/vmtouch

ENTRYPOINT [ "vmtouch" ]
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# vmtouch

A container image designed to be a sidecar to aid another container in keeping files in page cache.

0 comments on commit 48b66ec

Please sign in to comment.