Skip to content

Commit

Permalink
Update instructions for tmpfs
Browse files Browse the repository at this point in the history
  • Loading branch information
swo0k committed Dec 19, 2018
1 parent 2e6754e commit 6ce6dfd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,12 @@ RUN set -x \
&& mv r53Server /usr/bin/r53Server \
&& apk del .build-deps \
&& rm -rf /go \
&& mkdir /empty \
&& echo "Build complete."

FROM scratch

COPY --from=builder /usr/bin/r53Server /usr/bin/r53Server
COPY --from=builder /etc/ssl/certs/ /etc/ssl/certs
COPY --from=builder /empty /tmp

COPY static static
COPY templates templates
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ bump-version: ## Bump the version in the version file. Set BUMP to [ patch | maj
@echo "Bumping VERSION from $(VERSION) to $(NEW_VERSION)"
echo $(NEW_VERSION) > _VERSION
@echo "Updating links to download binaries in README.md"
sed -i s/$(VERSION)/$(NEW_VERSION)/g README.md
sed -i "" -e s/$(VERSION)/$(NEW_VERSION)/g README.md
git add _VERSION README.md
git commit -vsam "Bump version to $(NEW_VERSION)"
@echo "Run make tag to create and push the tag for new version $(NEW_VERSION)"
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ based on [jessfraz/s3server](https://github.com/jessfraz/s3server)

```bash
Server to index & view recods in r53 zones.
Version: v0.1.0
Version: v0.1.1
Build: 9089a07
-aws-access-key-id string
AWS access key
Expand All @@ -35,7 +35,8 @@ docker run -d \
-p 8080:8080 \
-e AWS_ACCESS_KEY_ID \
-e AWS_SECRET_ACCESS_KEY \
quay.io/swo0k/r53server:v0.1.0 \
--tmpfs /tmp \
quay.io/swo0k/r53server:v0.1.1 \
-zone Z2UE.......... \
-zone Z1W...........
```
2 changes: 1 addition & 1 deletion _VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.1.0
v0.1.1

0 comments on commit 6ce6dfd

Please sign in to comment.