-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from jsfillman/DEVOPS-1770-GCloudUpdates
Devops 1770 g cloud updates
- Loading branch information
Showing
2 changed files
with
9 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,16 @@ | ||
FROM arangodb:3.5.3 | ||
FROM alpine:latest | ||
|
||
# Build arguments passed into the docker command for image metadata | ||
ARG BUILD_DATE | ||
ARG COMMIT | ||
ARG BRANCH | ||
|
||
# RUN pip install requests docker python-json-logger structlog && \ | ||
# Update and install necessary packages | ||
RUN apk update && \ | ||
apk add p7zip && \ | ||
cd /tmp && \ | ||
wget https://downloads.rclone.org/rclone-current-linux-amd64.zip && \ | ||
unzip rclone-current-linux-amd64.zip && \ | ||
mv rclone-v*-linux-amd64/rclone /bin/rclone && \ | ||
mkdir -p /root/.config/rclone/ | ||
apk add p7zip rclone | ||
|
||
# Create config directory | ||
RUN mkdir -p /root/.config/rclone/ | ||
|
||
# Copy necessary files | ||
COPY rclone.conf /root/.config/rclone/rclone.conf | ||
COPY app/ /app/ | ||
|
||
LABEL org.label-schema.build-date=$BUILD_DATE \ | ||
org.label-schema.vcs-url="https://github.com/kbase/db_zip2cloud.git" \ | ||
org.label-schema.vcs-ref=$COMMIT \ | ||
org.label-schema.schema-version="1.0.0-rc1" \ | ||
us.kbase.vcs-branch=$BRANCH \ | ||
maintainer="Steve Chan [email protected]" \ | ||
org.opencontainers.image.source="https://github.com/kbase/db_zip2cloud" | ||
|
||
WORKDIR /app | ||
|
||
ENTRYPOINT /app/zip2cloud | ||
|
||
|
||
ENTRYPOINT /app/zip2cloud |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters