2018-01-02 18:51:49 +00:00
|
|
|
# Copyright 2017 the Heptio Ark contributors.
|
2017-08-02 17:27:17 +00:00
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
2018-04-17 19:02:42 +00:00
|
|
|
FROM alpine:3.7
|
2017-08-02 17:27:17 +00:00
|
|
|
|
2017-10-23 20:50:20 +00:00
|
|
|
MAINTAINER Andy Goldstein <andy@heptio.com>
|
2017-08-02 17:27:17 +00:00
|
|
|
|
2017-10-25 13:53:43 +00:00
|
|
|
RUN apk add --no-cache ca-certificates
|
|
|
|
|
2018-06-14 20:40:19 +00:00
|
|
|
RUN apk add --update --no-cache bzip2 && \
|
2018-06-11 16:59:29 +00:00
|
|
|
wget --quiet https://github.com/restic/restic/releases/download/v0.9.1/restic_0.9.1_linux_amd64.bz2 && \
|
|
|
|
bunzip2 restic_0.9.1_linux_amd64.bz2 && \
|
2018-06-19 18:30:57 +00:00
|
|
|
mv restic_0.9.1_linux_amd64 /usr/bin/restic && \
|
|
|
|
chmod +x /usr/bin/restic
|
2018-02-28 01:35:35 +00:00
|
|
|
|
2018-06-08 22:02:47 +00:00
|
|
|
ADD /bin/linux/amd64/ark /ark
|
|
|
|
|
2017-10-23 20:50:20 +00:00
|
|
|
USER nobody:nobody
|
2017-10-25 13:53:43 +00:00
|
|
|
|
|
|
|
ENTRYPOINT ["/ark"]
|