Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
gkostin1966 committed Sep 24, 2024
1 parent e41bca4 commit f724fb5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 33 deletions.
12 changes: 0 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,7 @@
FROM rust

ARG UNAME=app
ARG UID=1000
ARG GID=1000

RUN groupadd -g ${GID} ${UNAME}
RUN useradd -m -d /${UNAME} -u ${UID} -g ${GID} -o -s /bin/bash ${UNAME}

WORKDIR /usr/src/rocfl
COPY . .
RUN cargo install --path .

ENV PATH="/${UNAME}/bin:${PATH}"
RUN chown -R ${UID}:${GID} /${UNAME}
WORKDIR /${UNAME}
USER ${UNAME}

CMD ["rocfl"]
2 changes: 1 addition & 1 deletion README-UMICH.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ Manually trigger [Build rocfl image](https://github.com/mlibrary/rocfl/actions/w
docker pull ghcr.io/mlibrary/rocfl/rocfl:latest
```

This package is used in the [dor-rocfl-experiment](https://github.com/mlibrary/dor-rocfl-experiment) [Dockerfile](https://github.com/mlibrary/dor-rocfl-experiment/blob/main/Dockerfile) to copy the `rocfl` command to the image.
This package is used in the [dor-rocfl-experiment](https://github.com/mlibrary/dor-rocfl-experiment) [Dockerfile](https://github.com/mlibrary/dor-rocfl-experiment/blob/main/Dockerfile)
20 changes: 0 additions & 20 deletions compose.yaml

This file was deleted.

0 comments on commit f724fb5

Please sign in to comment.