mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-05 11:27:45 +00:00
Signed-off-by: Avi Deitcher <avi@deitcher.net> Fix spaces after commas Remove MAINTAINER Signed-off-by: Avi Deitcher <avi@deitcher.net> Simplify swap.yml example to remove files section Signed-off-by: Avi Deitcher <avi@deitcher.net> Switch swap.sh to sh from bash and remove bash from image Signed-off-by: Avi Deitcher <avi@deitcher.net> Replace fallocate with dd and update calculation function to support it Signed-off-by: Avi Deitcher <avi@deitcher.net> Fix indentation Signed-off-by: Avi Deitcher <avi@deitcher.net> Change link to swap to just swap.sh Signed-off-by: Avi Deitcher <avi@deitcher.net> Fix indent Signed-off-by: Avi Deitcher <avi@deitcher.net>
14 lines
281 B
Docker
14 lines
281 B
Docker
FROM alpine:3.5
|
|
|
|
# swap command - only minimal Alpine install
|
|
|
|
# use util-linux to get swapfile utils
|
|
# at some point, hopefully use our own mkswap and swapon
|
|
RUN apk add --update util-linux
|
|
|
|
# add the entrypoint and make it executable
|
|
COPY . ./
|
|
|
|
# ENTRYPOINT
|
|
ENTRYPOINT swap.sh
|