Skip to content

Commit

Permalink
fix: try fix emoji issue by updating LANG envvar
Browse files Browse the repository at this point in the history
Signed-off-by: tison <[email protected]>
  • Loading branch information
tisonkun committed Mar 21, 2023
1 parent 23845df commit 8433b64
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile.native
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@
# limitations under the License.

FROM ghcr.io/graalvm/native-image:ol9-java17-22.3.0 as build
ENV LANG C.utf8
WORKDIR /build
COPY . .
RUN ./mvnw -B -ntp clean package -DskipTests -Pnative

FROM ubuntu:jammy
FROM cgr.dev/chainguard/graalvm-native
ENV LANG C.utf8
COPY --from=build /build/distribution/native/target/hawkeye-native /bin/
WORKDIR /github/workspace/
ENTRYPOINT ["/bin/hawkeye-native"]

1 comment on commit 8433b64

@tisonkun
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.