Skip to content

Commit

Permalink
feat: update user
Browse files Browse the repository at this point in the history
  • Loading branch information
allthatjazzleo committed Oct 28, 2024
1 parent fabd782 commit dbb8df3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ RUN set -eux;\
FROM scratch

WORKDIR /
COPY --from=builder /workspace/snapshot .
USER 65532:65532
USER 1025:1025
COPY --from=builder --chown=1025:1025 /workspace/snapshot .

ENTRYPOINT ["/snapshot"]
2 changes: 1 addition & 1 deletion internal/versioncheck.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func CheckVersionAndDB(
var db dbm.DB

// try all backends
for _, backend := range []string{"goleveldb", "pebbledb", "memdb", "rocksdb"} {
for _, backend := range []string{"goleveldb", "pebbledb", "rocksdb", "memdb"} {
db, err = dbm.NewDB("application", getBackend(backend), dataDir)
if err != nil {
continue
Expand Down

0 comments on commit dbb8df3

Please sign in to comment.