mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-10-30 18:18:26 +00:00
Update examples/swap.yml to use latest linuxkit/swap image Add comment to examples/swap.yml how to enable encryption Add encrypt options to README Make encrypted swap the default Signed-off-by: Avi Deitcher <avi@deitcher.net>
14 lines
327 B
Docker
14 lines
327 B
Docker
FROM alpine:3.5
|
|
|
|
# swap command - only minimal Alpine install
|
|
|
|
# use util-linux to get swapfile utils, cryptsetup
|
|
# at some point, hopefully use our own mkswap and swapon, as well as cryptsetup
|
|
RUN apk add --update util-linux cryptsetup
|
|
|
|
# add the entrypoint and make it executable
|
|
COPY . ./
|
|
|
|
# ENTRYPOINT
|
|
ENTRYPOINT swap.sh
|